\[ (x f(x)+2) y'(x)+f(x) y(x)+x y''(x)=0 \] ✗ Mathematica : cpu = 0.249206 (sec), leaf count = 0 , could not solve
DSolve[f[x]*y[x] + (2 + x*f[x])*Derivative[1][y][x] + x*Derivative[2][y][x] == 0, y[x], x]
✓ Maple : cpu = 0.337 (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 \} \]