The teacher will be very surprised to see your correct solution 😉
-c - atan(x) + log(|y|) = 0
-c + log(|y|) - atan(x) = 0