✓ Mathematica : cpu = 0.0148125 (sec), leaf count = 30
DSolve[-2*(-1 + x)*y[x] - (1 + x)*Derivative[1][y][x] + x*Derivative[2][y][x] == 0,y[x],x]
✓ Maple : cpu = 0.036 (sec), leaf count = 22
dsolve(x*diff(diff(y(x),x),x)-(1+x)*diff(y(x),x)-2*(x-1)*y(x)=0,y(x))