\[ x^2 y''(x)+\left (x^2+2\right ) y(x)-2 x y'(x)=0 \] ✓ Mathematica : cpu = 0.0188471 (sec), leaf count = 33
\[\left \{\left \{y(x)\to c_1 e^{-i x} x-\frac {1}{2} i c_2 e^{i x} x\right \}\right \}\]
✓ Maple : cpu = 0.031 (sec), leaf count = 15
\[ \left \{ y \left ( x \right ) ={\it \_C1}\,x\sin \left ( x \right ) +{\it \_C2}\,\cos \left ( x \right ) x \right \} \]