The function is .
Apply the integral on each side.
.
The initial conditions are and .
Substitute in .
Substitute .
Substitute and in .