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