solve sin^2θ + cosθ = 2