It appears that you tried to do this:
so that you could use a u substitution.
This is incorrect because you can only pull constants out of the integral, not functions.
Like Mr F said, factorise the denominator then use partial fractions. You should find that your answer has a logarithm term and an arctangent term.