Using trig identities, prove the equation shown below.

sec(x) – sin(x)tan(x) = cosx

Hint: Work on the left side of the equation and do not manipulate the right side of the equation.