solve the equation x(cubed) -7x(squared)+10x=0
$\displaystyle x^3 - 7x^2 + 10x = 0$
$\displaystyle x(x^2 - 7x + 10) = 0$
$\displaystyle x(x^2 - 5x - 2x + 10) = 0$
$\displaystyle x(x(x - 5) - 2(x - 5)) = 0$
$\displaystyle x (x - 5) (x - 2) = 0$
So x = 0,2,5
Dont trust my answer, substitute it back and check