Reduction of order using Abel's theorem
By Abel's identity, $$ y_1 y_2' - y_1' y_2 = W(x_0) \exp\Big(-\int_{x_0}^x p(u)\,du\Big), $$ which, if $y_1$ is known, gives a first-order linear ODE of $y_2$. Using quotient rule, $$ \frac{d}{dx}\frac{y_2}{y_1} = \frac{W(x_0)}{y_1^2}\exp\Big(-\int_{x_0}^x p(u)\,du\Big) $$ $$ y_2(x) = y_1(x) \int^x \frac{\exp\Big(-\int^\xi p(u)\,du\Big)}{y_1(\xi)^2}\,d\xi, $$ which is equivalent to the reduction of order formula.