We have a sec θ in the expression. We will multiply by cosθ to remove secθ. [When we have sinθ and cosecθ or tanθ and cotθ, we will try to remove cosecθ and cotθ]
Multiplying by cose throughout, 2 cos2θ+1=5sinθ
Now, if we express cos2θ=1−sin2θ, we will get a quadratic in sinθ. We can solve the quadratic to find our solutions.
2(1−sin2θ)+1=5sinθ
⇒2sin2θ+5sinθ−3=0
2sin2θ−sinθ+6sinθ−3=0
2sinθ(sinθ−12)+6(sinθ−12)=0
⇒sinθ=12orsinθ=−3
But sinθcan′tbe−3
⇒sinθ=12
There will be two values of θ for which sinθ=12 between 0 and 2π
i.e.θ=π6andθ=5π6