✓ Mathematica : cpu = 0.227455 (sec), leaf count = 27
DSolve[Log[a*y[x]]*y[x]^2 - x*y[x]*Derivative[1][y][x] + Derivative[1][y][x]^2 == 0,y[x],x]
✓ Maple : cpu = 0.528 (sec), leaf count = 50
dsolve(diff(y(x),x)^2-x*y(x)*diff(y(x),x)+y(x)^2*ln(a*y(x)) = 0,y(x))