I solved this problem by converting $\sin x,\cos x,\sec x$ all in terms of $\tan(x/2)$ which gives a biquadratic.
I found $2$ roots of the biquadratic by hit and trial i.e $\tan^2(x/2) = 1/3$ but the calculations were really lengthy.
I had also tried opening all brackets but I was still unsuccessful in finding some nice way to solve the above equation.
It would be really appreciated if someone gives a nice solution to the above problem.
Thank you.