Does your textbook have a method for solving equations of the form:
DQy" + My' + Ny = DQ^2
where D, Q, M, and N are all functions of x.
Because both your equations are of that form. The homogenous equation for the first one is not too far off an Euler equation, so maybe that might help?
The...