How do you solve #1+sinx=2cos^2x# and find all exact general solutions?