\[ y(x) y'(x)+x y(x)^2-4 x=0 \] ✓ Mathematica : cpu = 0.0902105 (sec), leaf count = 47
DSolve[-4*x + x*y[x]^2 + y[x]*Derivative[1][y][x] == 0,y[x],x]
\[\left \{\left \{y(x)\to -\sqrt {4+e^{-x^2+2 c_1}}\right \},\left \{y(x)\to \sqrt {4+e^{-x^2+2 c_1}}\right \}\right \}\] ✓ Maple : cpu = 0.028 (sec), leaf count = 33
dsolve(y(x)*diff(y(x),x)+x*y(x)^2-4*x = 0,y(x))
\[y \left (x \right ) = \sqrt {{\mathrm e}^{-x^{2}} c_{1}+4}\]