If $\tan{\frac{x}{2}}=\csc x - \sin x$, then find the value of $\tan^2{\frac{x}{2}}$.
HINT: The answer is $-2\pm \sqrt5$.
What I have tried so far: $$\tan{\frac{x}{2}} = \frac{1}{\sin x}-\sin x$$ $$\tan{\frac{x}{2}} = \frac{1-\sin^2 x}{\sin x}$$ $$\tan{\frac{x}{2}} = \frac{\cos^2 x}{\sin x}$$
I don't know how to solve this problem. Pls help. Thank you :)