How do you solve #3(1-sinx)=2cos^2x# in the interval #0<=x<=2pi#?