I am required to solve the following equation for $-180^\circ\leq x\leq 180^\circ$:
$$\sin2x=\tan x.$$
I am aware that I can convert $\sin2x = 2\sin x\cos x$. However, I am not sure where to go from here to find the values for $x$ that will make the equation hold. Any help with solving this would be very much appreciated.