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