\[ x^2 y''(x)+\left (x^2+2\right ) y(x)-2 x y'(x)=0 \] ✓ Mathematica : cpu = 0.0194797 (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.052 (sec), leaf count = 15
\[ \left \{ y \left ( x \right ) =x \left ( \cos \left ( x \right ) {\it \_C2}+\sin \left ( x \right ) {\it \_C1} \right ) \right \} \]