Based in your question that ask to evaluate the integral of tan^2(x)sec(x), base on my calculation and the use of the integral procedures and formula i came up with a solution that could answer your question and the evaluated answer is tan(x)sec(x)−∫(sec2(x)−1)sec(x)dx