f(X)=(x-1)^2*(x-2)^3

is there a question here?