\[ x \left (-x^2+x y(x)+y(x)^2\right ) y'(x)+x^2 y(x)-y(x)^3+x y(x)^2=0 \] ✓ Mathematica : cpu = 0.192807 (sec), leaf count = 31
\[\text {Solve}\left [\frac {x}{y(x)}+\frac {y(x)}{x}+\log \left (\frac {y(x)}{x}\right )=-2 \log (x)+c_1,y(x)\right ]\] ✓ Maple : cpu = 0.15 (sec), leaf count = 29
\[ \left \{ y \left ( x \right ) ={{\rm e}^{{\it RootOf} \left ( \left ( {{\rm e}^{{\it \_Z}}} \right ) ^{2}+2\,{{\rm e}^{{\it \_Z}}}\ln \left ( x \right ) +2\,{{\rm e}^{{\it \_Z}}}{\it \_C1}+{\it \_Z}\,{{\rm e}^{{\it \_Z}}}+1 \right ) }}x \right \} \]