There are 2 ways to solve this Differential Equation:

1) Since it is linear in y use F1 : Linear in y

enter P=-x^2

and Q=2x^3

press Enter . Using an Integration factor will yield the answer.

2) Rewriting it as y’=2x^2+x^2*y=x^2*(2+y) shows that the method of separating the variables will work as well, That is under F1: Separation of Variable

Two different methods will yield the same correct solution.

*Related*