Substitute
. By the chain rule,
Now
, so
Differentiate both sides again to recover the second and third derivatives.
The ODE then transforms to a linear one,
or using Lagrange's prime notation,
The characteristic equation is
with roots at
and
, so the general solution is
Back in terms of
, we get