\[ x y'(x) (-a x+y(x)+y(x) \log (x y(x)))-y(x) (a x \log (x y(x))+a x-y(x))=0 \] ✓ Mathematica : cpu = 0.455704 (sec), leaf count = 24
\[\text {Solve}[a x \log (x y(x))-y(x) \log (x y(x))=c_1,y(x)]\] ✓ Maple : cpu = 0.281 (sec), leaf count = 19
\[\{-c_{1}+\left (x y \left (x \right )\right )^{-a x +y \left (x \right )} = 0\}\]