Answer
$f(x)=x^3+x^2-2x$
Work Step by Step
RECALL:
If $a$ is a zero of a polynomial, then $x−a$ is a factor of the polynomial.
Thus, having $x=-2, 0, 1$ as zeros of the polynomial function means that $x+2,x$, and $x-1$ are factors of the polynomial.
Therefore the function is
$f(x)=(x+2)(x)(x-1)
\\f(x)=x^3+x^2-2x.$