First we show the partial fractions decomposition.
We obtain
Now we should complete the squares. Here is how it would look in the first fraction:
Using linear substitutions, these integrals can be transformed into elementary integrals leading to arctangents. If you have enough patience, try to finish the calculations. You should get