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