Considering the following ODE : find $f(x)$ such that $$\frac{\sigma^{2}}{2}\frac{d^2}{dx^2}f(x)+a(b-x)\frac{d}{dx}f(x)-(\rho+\lambda)f(x)=-\lambda g(x) $$ Where, $a,b,\rho,\lambda,\sigma\in(0,+\infty)$, and $f(x)$ and $g(x)$ are assumed to have enough "good properties" !

Using the Fourier transform, one specific solution could be found, but I am interested in finding a general solution. It would be great if some one could give me some ideas. Thanks for your time and consideration.