Suppose we have .

We know that the second solution will have the form . Now:

Plug these into differential equation. You will get an expression only involving derivatives of . Then make a substitution to get a linear first order differential equation.