9: This is a typical integral of a rational function. First the long division, then decomposition of the remainder. This is not so easy, one has to guess one root and then divide the denominator by the corresponding factor.

Next hint
Answer