The question I am trying to solve is the following:
Suppose $f(x)=x^2+(b+1)x+2c,\quad f(2)=4,$ and $f'(-1)=2.$ Find the constants $b$ and $c$.
I assume to solve this equation, I use a simultaneous equation of both $f(x)$ and $f '(x)$, therefor I'm trying to figure out how to find the derivative of $f (x)$.
I've learnt how to find $f '(x)$ of basic functions, where $x$ is the only variable.
However, I need to know: do I treat the unkown constants, $b$ and $c$, as I would $x$? For example, the derivative of $x^2$ is $2x$, would $2c$ become just $2$?
Note* I'm new to calculus