How would you integrate x^2/x^2+9 ?

I assume you mean

∫x^2/(x^2+9) dx
which is:
=∫(x^2+9-9)/(x²+9) dx
=∫(1-9/(x²+2&sup2) dx
=x - 3tan-1(x/3) + C