\[ \left (a^2 x^2-1\right ) y''(x)+2 a^2 x y'(x)=0 \] ✓ Mathematica : cpu = 0.025621 (sec), leaf count = 19
DSolve[2*a^2*x*Derivative[1][y][x] + (-1 + a^2*x^2)*Derivative[2][y][x] == 0,y[x],x]
\[\left \{\left \{y(x)\to c_2-\frac {c_1 \tanh ^{-1}(a x)}{a}\right \}\right \}\] ✓ Maple : cpu = 0.013 (sec), leaf count = 27
dsolve((a^2*x^2-1)*diff(diff(y(x),x),x)+2*a^2*x*diff(y(x),x)=0,y(x))
\[y \left (x \right ) = c_{1}-\frac {\left (\ln \left (a x +1\right )-\ln \left (a x -1\right )\right ) c_{2}}{2 a}\]