A clue here is the ... if that x were a tan of something, how would that change things?

Just in case a picture helps...

... where (key in spoiler) ...

Spoiler:

Spoiler:

Late edit: Soroban's solution below is a bit simpler, as it does without the trigonometry. Just in case a picture helps...

Spoiler:

_________________________________________

Don't integrate - balloontegrate!

Balloon Calculus; standard integrals, derivatives and methods

Balloon Calculus Drawing with LaTeX and Asymptote!