Mark M. answered 05/21/20
Retired Math prof with teaching and tutoring experience in trig.
Multiply the left hand side by secx - tanx to obtain (secx - tanx) / (sec2x - tan2x)
Now, recall that 1 + tan2x = sec2x. So, sec2x - tan2x = 1.
So, the left hand side simplifies to (secx - tanx) / 1 = secx - tanx = right hand side