El profesor se sorprenderá mucho al ver tu solución correcta😉
d 2 x*--(y(x)) - (1 + x)*y(x) = x*y (x) dx
x*y' - (x + 1)*y = x*y^2
x x*e y(x) = -------------- x x C1 - x*e + e