How to solve for x on the interval [0,2π)?

Solve for x on the interval [0,2π). Cos x - sin2x = 0.