Mark M. answered 02/26/21
Retired math prof. Calc 1, 2 and AP Calculus tutoring experience.
This is a linear first order differential equation
Integrating factor = e∫(-2x)dx = e-x^2
Multiply both sides by the integrating factor to get y'e-x^2 - 2xe-x^2y = 0
By the Product rule, we see that the left hand side is the derivative of ye-x^2
So we have (ye-x^2)' = 0
Integrate to obtain ye-x^2 = C
Thus, y = Cex^2, where C is an arbitrary constant.