Real solution of $(\cos x -\sin x)\cdot \bigg(2\tan x+\frac{1}{\cos x}\bigg)+2=0.$ 
Real solution of equation $$(\cos x -\sin x)\cdot \bigg(2\tan x+\frac{1}{\cos x}\bigg)+2=0.$$

Try: Using Half angle formula 
$\displaystyle \cos x=\frac{1-\tan^2x/2}{1+\tan^2 x/2}$ and $\displaystyle \sin x=\frac{2\tan^2 x/2}{1+\tan^2 x/2}$
Substuting These values in equation
we have an polynomial equation in terms of $t=\tan x/2$
So our equation $$3t^{4}+6t^{3}+8t^{2}-2t-3=0$$
Could Some Help me how to Factorise it.
OR is there is any easiest way How to solve it, Thanks 

HINT:
Since $\sin x=\frac{2t}{1+t^2}$, the equation becomes $$\left(\frac{1-t^2-2t}{1+t^2}\right)\left(\frac{2t+1+t^2}{1-t^2}\right)+2=0\implies -t^4-4t^3-4t^2+1=2t^4-2$$ or $$3t^4+4t^3+4t^2-3=0$$ from which a root is $t=-1$.
