Calculus: Integration of (Tan x)^2

So, now I need help…

I’ve been trying to figure out the integral of (Tan x)^2, but I just can’t…
The answer, from the back of the book, is Tan x - x + C.
Can someone please show me the steps? Thanks.