Since this is a separable differential equation, we will simply manipulate it to put the y-terms with dy on one side, the x-terms with dx on the other, and integrate.
dy/dx = x2/y2
y2dy = x2dx
1/3y3 = 1/3x3 + C plugging in (0,2) to solve for the constant of integration gives ...
8/3 = C
1/3y3 = 1/3x3 + 8/3
y3 = x3 + 8
y = 3√(x3+8)