Find all solutions in the interval [0,2pi).
cos 2x + sqrt(2) sinx=1
cos 2x + sqrt(2) sinx=1