How do you write a polynomial function with the given zeros 1, –2, and 5?

${x}^{3} - 4 {x}^{2} - 7 x + 10$
A polynomial with a zero at $x = a$ has a factor $\left(x - a\right)$, so the required polynomial is: $\left(x - 1\right) \left(x + 2\right) \left(x - 5\right)$
$= \left({x}^{2} + x - 2\right) \left(x - 5\right)$
$= {x}^{3} - 4 {x}^{2} - 7 x + 10$