The slope of the tangent at (x,y) is dxdy=xxy2+y=y2+xy.
This is a Bernoulli equation. Dividing through by y2: y21dxdy−xy1=1.
Let v=y1, so dxdv=−y21dxdy. The equation becomes −dxdv−xv=1, i.e., dxdv+xv=−1.
The integrating factor is e∫dx/x=x. Multiplying: dxd(vx)=−x.
Integrating: vx=−2x2+C, i.e., yx=−2x2+C.
To find C, the curve intersects x+2y=4 at x=−2. From the line: −2+2y=4, so y=3. Substituting (−2,3): 3−2=−24+C=−2+C, giving C=−32+2=34.
The curve equation is yx=−2x2+34. At x=3: y3=−29+34=6−27+8=−619.
Therefore y=−193×6=−1918.