\[ \boxed { \left ( {\frac {\rm d}{{\rm d}x}}y \left ( x \right ) \right ) ^{2}+ \left ( x-2 \right ) {\frac {\rm d}{{\rm d}x}}y \left ( x \right ) -y \left ( x \right ) +1=0} \]
Mathematica: cpu = 0.006001 (sec), leaf count = 19 \[ \left \{\left \{y(x)\to c_1 x+c_1^2-2 c_1+1\right \}\right \} \]
Maple: cpu = 0.390 (sec), leaf count = 25 \[ \left \{ y \left ( x \right ) =-{\frac {{x}^{2}}{4}}+x,y \left ( x \right ) ={{\it \_C1}}^{2}+{\it \_C1}\,x-2\,{\it \_C1}+1 \right \} \]