The differential equation is
.

Apply integration on each side.
\

Apply long division to simplify the integral.
\
Apply integration sum and difference formula :
.


Partial fraction decomposition of
.
Solve the integral by using partial fractions.
\
Compare
- coefficients and constant terms.


Substitute
in
.


Substitute
and
in
.

Apply power rule of integration :
.

Therefore,
.
.