How do you prove sin2x=(tanx)(1+cos2x)?

$1 + \cos 2 x = 2 {\cos}^{2} x$
$\left(\frac{\sin x}{\cos x}\right) \left(2 {\cos}^{2} x\right) = 2 \sin x . \cos x = \sin 2 x$. OK