Simplify.
cosx/secx−secxcosx
Remember the defintion of sec = 1/cos
so this becomes cos / ( 1/cos) - 1/cos * cos
cos^2 - 1
(1-sin^2) - 1 = - sin^2