Consider a univariate probability density function $p(x)$ that is a mixture of $2$ probability density functions with weights $\eta, 1-\eta$ and $\eta\in (0,1)$: $$ p(x)=(1-\eta)g(x)+\eta f(x) \hspace{1cm} \forall x \in \mathbb{R} $$
Suppose we know $p(x)$ and $g(x)$ at every $x\in \mathbb{R}$. Our professor made the following point: without further restrictions we cannot back out $\eta, f(x)$. To see that, it is sufficient to observe that $$ (1-\eta)g(x)+\eta f(x)=(1-\eta/2)g(x)+\eta/2 (-g(x)+2f(x)) $$ Hence, $p(x)$ can be generated by $\{\eta, f(x)\}$ and by $\{\eta/2, -g(x)+2f(x)\}$.
Question: I see the point. However, I don't understand how we are sure that $(g(x)+2f(x))$ is a probability density function. Specifically, it is not necessarily positive. Can't that requirement allow to get rid of the second solution?