For convenience, let $(f(x), g(x))$ be a solution to the problem. Now, \begin{align*} f(x) + g(x) &= f(x)g(x) \\ f(x)g(x) - f(x) - g(x) &= 0 \\ f(x)g(x) - f(x) - g(x) + 1 &= 1 \\ (f(x) - 1)(g(x) - 1) &= 1 \end{align*}
By letting $f(x) - 1 = 1$ and $g(x) - 1 = 1$, we get the solution $(2,2)$. Also, letting $f(x) - 1 = -1$ and $g(x) - 1 = -1$, we get the solution $(0,0)$.
What I am wondering now, is if there exists $f$ and $g$ where both are nonconstant polynomials?
Edit 1. The set of real numbers is the domain and range of both $f$ and $g$.