# How do I simplify the following trigonometric identity? Csc(x) cot (x)/sec(x)

${\cot}^{2} x$
$f \left(x\right) = \frac{\csc x . \cot x}{\sec x} = \frac{\left(\frac{1}{\sin} x\right) \frac{\cos x}{\sin x}}{\frac{1}{\cos x}} =$
$f \left(x\right) = {\cos}^{2} \frac{x}{{\sin}^{2} x} = {\cot}^{2} x$