Such integrals often involve the integral of secant cubed, which involves the integral of secant. To integrate the secant function, you can go like this:
\int \sec(x)dx
= \int \sec(x)\frac{\sec(x)+\tan(x)}{\sec(x)+\tan(x)}dx
= \int \frac{\sec^2(x)+\sec(x)\tan(x)}{\sec(x)+\tan(x)}dx
Substituting u=\sec(x)+\tan(x), we get
= \int \frac{1}{u}du
= \log|u|=\log|\sec(x)+\tan(x)|+C
It shouldn't be hard to derive the integral of secant cubed from there.
The integral of secant cubed often appears in radical integrals like this. It would be useful to memorize it.