How do you simplify (cos x/sinx)(1/cosx-sinx/cosx)?

$\left(\cos \frac{x}{\sin} x\right) \left(\frac{1}{\cos} x - \sin \frac{x}{\cos} x\right) = \csc x - 1$
$\csc A = \frac{1}{\sin} A$
$\left(\cos \frac{x}{\sin} x\right) \left(\frac{1}{\cos} x - \sin \frac{x}{\cos} x\right) = \left(\frac{1}{\sin} x - 1\right) = \csc x - 1$