✓ Mathematica : cpu = 0.701536 (sec), leaf count = 28
DSolve[-2*(-1 + y[x])^2*y[x] - 2*x*(-1 + y[x])*Derivative[1][y][x] - 2*x^2*Derivative[1][y][x]^2 + x^2*(-1 + y[x])*Derivative[2][y][x] == 0,y[x],x]
✓ Maple : cpu = 0.066 (sec), leaf count = 26
dsolve(x^2*(-1+y(x))*diff(diff(y(x),x),x)-2*x^2*diff(y(x),x)^2-2*x*(-1+y(x))*diff(y(x),x)-2*y(x)*(-1+y(x))^2=0,y(x))