The teacher will be very surprised to see your correct solution 😉
2 cos (x) ------- = 0 sin(x)
cos(x)^2/sin(x) = 0