\[ (x f(x)+2) y'(x)+f(x) y(x)+x y''(x)=0 \] ✓ Mathematica : cpu = 0.0210337 (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.235 (sec), leaf count = 32
\[\left \{y \left (x \right ) = \frac {c_{2} \left (\int x^{2} {\mathrm e}^{\int \frac {-x f \left (x \right )-2}{x}d x}d x \right )+c_{1}}{x}\right \}\]