\[ a x^2 y'(x)+x^2 y''(x)-2 y(x)=0 \] ✓ Mathematica : cpu = 0.0234004 (sec), leaf count = 124
\[\left \{\left \{y(x)\to \frac {2 c_2 e^{\frac {1}{2} (\log (x)-a x)} \left (i \sinh \left (\frac {a x}{2}\right )-\frac {2 i \cosh \left (\frac {a x}{2}\right )}{a x}\right )}{\sqrt {\pi } \sqrt {-i a x}}+\frac {2 c_1 e^{\frac {1}{2} (\log (x)-a x)} \left (\frac {2 \sinh \left (\frac {a x}{2}\right )}{a x}-\cosh \left (\frac {a x}{2}\right )\right )}{\sqrt {\pi } \sqrt {-i a x}}\right \}\right \}\]
✓ Maple : cpu = 0.021 (sec), leaf count = 30
\[ \left \{ y \left ( x \right ) ={\frac {{\it \_C1}\, \left ( ax-2 \right ) }{x}}+{\frac {{\it \_C2}\,{{\rm e}^{-ax}} \left ( ax+2 \right ) }{x}} \right \} \]