Okay, so, of course there are _lots_ of options here. The simplest, but unsatisfying, would be to make $g$ be $\frac{1}{f(x)}x$, so that $y$ is just $x$. What that example demonstrates is that there's just _way_ too little information here to pin down one specific $g$.
But one that might be more satisfying would be to take $g(x) = xf(-x)$. This has the advantage of retaining some of the "character" of $f$, but without knowing more about your goal here I can't tell if this is what you're looking for.