3 2 x - 4*x + x + 6
x^3 - 4*x^2 + x + 6
3 2 6 + x + x - 4*x
6 + x + x^3 - 4*x^2
(x + 1)*(x - 2)*(x - 3)
((x + 1)*(x - 2))*(x - 3)
6.0 + x + x^3 - 4.0*x^2
(1 + x)*(-3 + x)*(-2 + x)
6 + x*(1 + x*(-4 + x))