Hint for the last one, if you're really up to integrating such a thing:
and now use partial fractions.
Two polynimials are equal if and only the coefficients of like powers are equal
The coefficients of the cubed terms are the same
the coefficients of the squared terms are the same
etc
In your example there is no cubic term on the left So the coefficient of the cubic term on the right hand side namely A must be 0
The coefficient of the squared term on the left is 1 so the coefficient
of the squared term on the right namely 2A + B =1
since A= 0 B must be one
and so on