The given differential equation is separable:
Integrate both sides:
In this case, , so that given , we get
so that