First , replace $\cos\theta$with x . After that use the quadratic formula to find x , then solve for $\theta$