How do you solve 2cosx + sin2x = 0 in the interval [0, 2pi]?