You can use the method of parts by taking secx as u and sec^2 as dv/dx. Here’s how to do that: first, apply integral reduction. Then, rewrite the integrand and expand the function tan(x)+sec(x). Apply u-substitution with u, then undo it and plug in solved integrals. Finally, you need to add the constant of integration.