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