How do you solve #cos2x-sinx=1# in the interval [0,360]?