I've tried pulling out 1/2 in front of the integral but it became 1 = Ax+B which I wouldn't be able to find the values of.
Is it possible to leave the 2 in the denominator but long divide with (x^2+1)? 
Note that $$\int \frac{x^2}{2(x^2+1)} \; \mathrm{d}x=\frac{1}{2} \int \frac{x^2+1-1}{x^2+1} \; \mathrm{d}x=\frac{1}{2}\int \left( 1-\frac{1}{x^2+1} \right) \; \mathrm{d}x$$
Now substitute $x=\tan u$. Or, if you memorized some tables, recall the fact that $$\int \frac{1}{x^2+1} \;\mathrm{d}x=\arctan x$$
We have $$I = \frac {1}{2} \int \frac {x^2}{1+x^2} \mathrm {d}x $$ $$ = \frac {1}{2} \int \frac {x^2+1-1}{1+x^2} \mathrm {d}x $$ $$=\frac {1}{2}[ \int \frac {x^2+1}{x^2+1} \mathrm {d}x - \int \frac {1}{x^2+1} \mathrm{d}x] $$ $$=\frac {1}{2}[\int 1 \mathrm {d}x - \int \frac {1}{x^2+1} \mathrm {d}x] $$
Hope you can take it from here.