{\displaystyle y={\frac {1}{\mu }}\left(\int \mu g(x)dx+C\right),\,\,\mu =e^{\int f(x)dx}}