7: You get

It is time for the box "rational functions", first the long division, the remainder is integrated using the standard approach.

Next hint
Answer