\[ \boxed { \left ( x{\frac {\rm d}{{\rm d}x}}y \left ( x \right ) -y \left ( x \right ) \right ) ^{n}f \left ( {\frac {\rm d}{{\rm d}x}}y \left ( x \right ) \right ) +y \left ( x \right ) g \left ( {\frac {\rm d}{{\rm d}x}}y \left ( x \right ) \right ) +xh \left ( {\frac {\rm d}{{\rm d}x}}y \left ( x \right ) \right ) =0} \]
Mathematica: cpu = 0.030504 (sec), leaf count = 41 \[ \text {DSolve}\left [f\left (y'(x)\right ) \left (x y'(x)-y(x)\right )^n+y(x) g\left (y'(x)\right )+x h\left (y'(x)\right )=0,y(x),x\right ] \]
Maple: cpu = 0.905 (sec), leaf count = 0 \[ \text {could not solve} \]