The function is
.


Take out common term
.


Let
.
Apply the derivative on each side with respect to
.



Substitute
and
in the derivative function.

Integrate with respect to
.


Substitute
in the above function.

.
The general solution is
.
The general solution is
.