How do you solve cos(2x)=1/2 and find all exact general solutions?