\[ -\text {f0}(x)-\text {f1}(x) y(x)-\text {f2}(x) y(x)^2+(g(x)+y(x)) y'(x)=0 \] ✗ Mathematica : cpu = 301.144 (sec), leaf count = 0 , timed out
$Aborted
✗ Maple : cpu = 0. (sec), leaf count = 0 , could not solve
dsolve((y(x)+g(x))*diff(y(x),x)-f2(x)*y(x)^2-f1(x)*y(x)-f0(x) = 0,y(x))