I continue from Christian's work.
Define $h(t) = g(t^2+2t)$ (so that $g(t)$ may be solved for by inverting the quadratic and taking suitable care). Then we have $$h(t) + 2h(-t) = t^2$$
Assuming we are interesting in $h$ which are infinitely differentiable at the origin, we can evaluate the $k$th derivative at the origin to obtain
$$h^{(k)}(0)(1+2(-1)^k ) = 2\delta_{k,2}$$
or
$$h^{(k)}(0) = \begin{cases} 0 & k\neq2 \\ \frac2 3 & k=2 \end{cases}$$
and so if we further consider functions which are analytic at the origin, we find
$$h(t) = \frac 1 3 t^2$$
Then clearly if $x=t^2+2t$ we have $$t^2+2t-x=0 \iff t = -1 \pm \sqrt{1+x}$$
Hence $$g(x) = h(-1\pm\sqrt{1+x}) = \frac 1 3(\sqrt{1+x}\mp 1)^2=\frac 1 3 (2+x\mp 2\sqrt{1+x})$$
Finally, checking which signs work where, I find that
$$\boxed{f(t)=\frac 1 {36} (41+12t-12\sqrt{4t-11}) \qquad\text{makes relation hold for}\qquad x \in \left(-\frac 1 2, \frac 3 2\right)}$$
The range has two ends because $f$ is evaluated at two places, and the solution breaks down where the sign changeover arises.
Note: This $g$ has series expansion agreeing with Christian's.