In the first place, "solve" is the wrong word. You are evaluating an integral. One evaluates expressions; one solves equations; one solves problems.
If you see $(a^2+x^2)^{3/2}$ and don't think of the trigonometric substitution $x = a \tan\theta$ then you need to review trigonometric substitutions. Then you have $a^2+x^2 = a^2 (1 + \tan^2\theta) = a^2 \sec^2\theta,$ so $(a^2+x^2)^{3/2} = a^3 \sec^3\theta,$ and $dx = a\sec\theta\tan\theta\,d\theta.$ So you have
$$
\int \frac{dx}{(a^2+x^2)^{3/2}} = \int \frac{a\sec^2\theta\,d\theta}{a^3\sec^3\theta} = \frac 1 {a^2} \int \cos\theta\,d\theta = \cdots\cdots.
$$
Once you get a function of $\theta$ you need to convert it back into a function of $x$, and that will also require remembering some trigonometry.