\[ \boxed { x \left ( {x}^{2}-2 \right ) {\frac {{\rm d}^{2}}{{\rm d}{x}^{2}}}y \left ( x \right ) - \left ( {x}^{3}+3\,{x}^{2}-2\,x-2 \right ) {\frac {\rm d}{{\rm d}x}}y \left ( x \right ) + \left ( {x}^{2}+4\,x+2 \right ) y \left ( x \right ) =0} \]
Mathematica: cpu = 0.070009 (sec), leaf count = 21 \[ \left \{\left \{y(x)\to c_1 e^x x^2+c_2 (x-1)\right \}\right \} \]
Maple: cpu = 0.031 (sec), leaf count = 17 \[ \left \{ y \left ( x \right ) ={\it \_C1}\, \left ( x-1 \right ) +{\it \_C2}\,{{\rm e}^{x}}{x}^{2} \right \} \]