The differential equation is
.

Apply integration on each side.
\
Consider
.
Rewrite the integral as
.
Consider
.
Write the expression (
) into perfect suare trinomial.
Add and subtract
coefficient of the expression.

Thus, the integral can be written as
.
Let
, then
.
Substitute
and
in
.

Apply formula :
.

Replace
with
.

.
Substitute
in equation (1).
.
.