The equation of a function has the form $y = f(x) = x^3 + ax^2 + bx + c$ where $a, b$ and $c$ must be determined so the function satisfies the following conditions :
$f(2) = 0$
$f(-1) = -12$
$f(1) = -12$
My first thoughts were finding the properties of a derivative by using the conditions given above and possibly getting a system to solve. Nevertheless, as of now, I don't find any way how to develop this and then find the constants.
Hint. One may obtain $a,b,c$ by solving the linear equation system: $$\begin{cases}4a+2b+c=-8\\a-b+c=-11 \\a+b+c = -13 \end{cases}$$Can you finish it?