The teacher will be very surprised to see your correct solution 😉
x - 2*atan(x) = 0
x1 = 2.33112237041442
x2 = 0.0
x3 = -2.33112237041442