\[ (x f(x)+2) y'(x)+f(x) y(x)+x y''(x)=0 \] ✓ Mathematica : cpu = 0.0210966 (sec), leaf count = 40
\[\left \{\left \{y(x)\to \frac {c_2 \int _1^x\exp \left (-\int _1^{K[2]}f(K[1])dK[1]\right )dK[2]}{x}+\frac {c_1}{x}\right \}\right \}\] ✓ Maple : cpu = 0.403 (sec), leaf count = 32
\[ \left \{ y \left ( x \right ) ={\frac {1}{x} \left ( {\it \_C2}\,\int \!{{\rm e}^{\int \!{\frac {-xf \left ( x \right ) -2}{x}}\,{\rm d}x}}{x}^{2}\,{\rm d}x+{\it \_C1} \right ) } \right \} \]