The function is
.
Boundary condition is
.
The above equation is in the form of linear equation
.
and
.
The integrating factor is
.
Substitute
in the above integrate formula.

Power rule of integral:
.
.
The implies that the general solution is
.
Substitute
in the above equation.

.
Substitute
in the above integral function.

Subsitute
in
.
.
.