How do you write polynomial function of least degree with integral coefficients that has given zeros -5,2,1,i?

$P \left(x\right) = \left(x + 5\right) \left(x - 2\right) \left(x - 1\right) \left(x - i\right)$
$P \left(x\right) = \left(x + 5\right) \left(x - 2\right) \left(x - 1\right) \left(x - i\right)$ is the lowest order of all polynomials with given zeroes.