Products of secants and tangents are similar, but not identical, to products of sines and cosines. If you need to evaluate $\int \sec^n(x) \tan^m(x) dx$,