x^3-3x^2+2=x^3-3x^2+3x-3x-1+3=(x-1)^3-3(x-1)=(x-1)((x-1)^2-3)=(x-1)(x^2-2x-2)=
(x-1)(x-(1+sqrt(3))(x-1+sqrt(3))
x^3-3x^2+2=x^3-3x^2+3x-3x-1+3=(x-1)^3-3(x-1)=(x-1)((x-1)^2-3)=(x-1)(x^2-2x-2)=
(x-1)(x-(1+sqrt(3))(x-1+sqrt(3))