Integrate wrt x, .

I rearranged it into the form .

I know this integrates to some form of arctan, and I though that it would be

.

But in the book they have the answer as .

Is this because you need to divide by the derivative of as well, or is there something I'm missing?

Thanks