I'm finding it difficult to solve the first order differential equation in the proof to obtain the conclusion. I've solved 1st order ODE's before and not had problems and I feel really silly for not being able to do this. I know this is separable, but I can't get the solution in the required form.
$$ \frac{{\rm d}W}{{\rm d}t} = -pW $$
Write the equation as
$$ \frac{{\rm d}W}{W} = -p {\rm d}t $$
Integrate both sides
$$ \ln W = - \int_{x_0}^x p(t){\rm d}t + \tilde{C} $$
take the exponential
$$ W = C\exp\left(- \int_{x_0}^x p(t){\rm d}t\right) $$
where $C = e^{-\tilde{C}} : {\rm const}$