Notice sec2xdx. Therefore integrate with u-sub setting u=tanx and du=sec2xdx:

tan2xsec2xdxu2duu33+Ctan3x3+C