Factor f(x)=x^4-2x^3+x^2