The teacher will be very surprised to see your correct solution 😉
3 (-1 + x) *(-2 + x) = 0
(x - 2)*(x - 1)^3 = 0