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