How do you solve #2(cosx+1)=1# in the interval #0<=x<=2pi#?