Exists an elegant and general proof to show that $f(x)=\frac{x}{3}$ is the only one solution.
Elegant proof
Using complex variable, rewrite the functional equation as $2f(2z)-f(z)=z$.
Since $2z$ and $z$ are complex-differentiable at $z\in\mathbb{C}$ it follows that $f(z)$ is necessarily complex-differentiable for all $z\in\mathbb{C}$ and hence necessarily continuous.
Moreover, since $2$, $2z$, $-1$ and $z$ are finite-grade polynomials then $f(z)$ too and
$$ \deg(f) = \max( \frac{\deg(z) - \deg(2)}{\deg(2z)} , \frac{\deg(z) - \deg(-1)}{\deg(z)} ) = \max(1,1) = 1.$$
As a consequence, the general solution is $f(z) = c_0+zc_1$ where $c_0 = 0$ and $c_1 = \frac{1}{3}$ by replacing in the functional equation. Therefore, $f(z) = \frac{z}{3}$ is the only one solution.
On a general proof
Of course, $f(z)$ is necessarily continuous because it is necessarily complex-differentiable. Note that the fact that being a complex-differentiable function is an even stronger property than being a continuous function. Hence if you have a functional equation
$$A(z) f(U(z)) + B(z) f(V(z)) = P(z),$$
where $A(z)$, $B(z)$, $U(z)$, $V(z)$ and $P(z)$ are complex-differentiable in an open $\Omega\subset\mathbb{C}$, then $f(z)$ is also complex-differentiable for all $z\in\Omega$ (HINT:
you can use the Cauchy-Riemann equations to prove this). Therefore, in order to get a general solution you can always compare the Taylor's coefficients of both members of the functional equation.
In particular, if you have that $A(z)$, $B(z)$, $U(z)$, $V(z)$ and $P(z)$ are finite order polynomials, as in your case, then $f(z)$ is complex-differentiable for all $z\in\mathbb{C}$ and its Taylor series exists, is unique and converges for all $z\in\mathbb{C}$. Moreover, for these cases it can easily be shown that $f(z)$ will always be a finite polynomial. In fact,
$$ \deg f = \max( \frac{\deg P - \deg A}{\deg U} , \frac{\deg P - \deg B}{\deg V} ),$$
that you can use to avoid comparing infinite coefficients.