Answer
$\ln{|\sec x + \tan x|} - \sin x +C$
Work Step by Step
Find the indefinite integral
$\int \frac{tan^2x}{secx}dx$, Convert tanget to secant
$\int \frac{sec^2x-1}{secx}dx$
$\int (secx -cosx)dx$, Integrate
$\ln{|\sec x + \tan x|} - \sin x +C$