Hey, try expressing sec(x) and tan(x) in terms of sines and cosines first, cancel what you can.
You should get
The trick here is to multiply the numerator and denominator by
Then use the identity on the denominator.
Convert back to sec and tan and that should be it.