\[ a x^3 \cos (x)+x y(x) y'(x)-y(x)^2=0 \] ✓ Mathematica : cpu = 0.0249268 (sec), leaf count = 38
\[\left \{\left \{y(x)\to -x \sqrt {c_1-2 a \sin (x)}\right \},\left \{y(x)\to x \sqrt {c_1-2 a \sin (x)}\right \}\right \}\]
✓ Maple : cpu = 0.028 (sec), leaf count = 30
\[ \left \{ y \left ( x \right ) =\sqrt {-2\,\sin \left ( x \right ) a+{\it \_C1}}x,y \left ( x \right ) =-\sqrt {-2\,\sin \left ( x \right ) a+{\it \_C1}}x \right \} \]