Given (4+x2)dy−2x(x2+3y+4)dx=0
(x2+4)dxdy=2x3+6xy+8x
(x2+4)dxdy−6xy=2x3+8x
dxdy−x2+46xy=x2+42x3+8x
This is of the form of linear differential equation
I.F. =e−∫x2+46xdx=e−3loge(x2+4)
=eloge(x2+4)−3=(x2+4)31
So the solution of the differential equation will be
y.(x2+4)31=∫(x2+4)3(x2+4)2x3+8xdx
(x2+4)3y=∫(x2+4)3(x2+4)2x(x2+4)dx
Let x2+4=t, 2xdx=dt
So (x2+4)3y=∫t3dt
(x2+4)3y=2(x2+4)2−1+C
Since the curve passes through origin (0,0)
0=2×16−1+C⇒C=321
i.e. (x2+4)3y=2(x2+4)2−1+321
y=2−(x2+4)+32(x2+4)3
Hence y(2)=−28+328×8×8=12