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