How do you solve #2cos^2theta-4costheta-5=0# in the interval #0<=x<=2pi#?