I tried to find $f(0)$, by taking $x=1$,
$$f(0)=\frac{c}{a+b},$$
Then i deduced that $f(x)$ is linear,
Taking $x=(u+1), af(u)+bf(-u)=(u+1)c$
Similarly, $af(-u)+bf(u)=f(1-u)c$, adding them
$2c/(a+b)=f(u)+f(-u)$
Now take u+1,
$f(u+1)+f(-u-1)=2c/(a+b)$
Equating this with the first,
$f(u+1)-f(u)=f(-u)-f(-u-1)=2c/(a+b)$
this lead me to the conclusion that f(x) is linear,