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