Flip the equation to treat x as a function of y; it becomes linear in x, solvable with an integrating factor.
Given (x+2y3)dxdy=y, given x=1 when y=−1.
Rewrite as dydx=yx+2y3=yx+2y2, i.e.:
dydx−yx=2y2
This is a linear first-order ODE in x (as a function of y), of the form dydx+Px=Q with P=−1/y, Q=2y2.
Integrating factor: I.F.=e∫−1/ydy=e−lny=y1.
Multiplying through and integrating:
x⋅y1=∫2y2⋅y1dy=∫2ydy=y2+C
So yx=y2+C, i.e. x=y3+Cy.
Apply the initial condition x=1 when y=−1:
1=(−1)3+C(−1)=−1−C ⇒ C=−2
So the particular solution is:
x=y3−2y