I have an assignment full of questions like these, and I know that using some suitable substitution like replacing $x$ with $(x-1)$ and simplyifying it, I will be able to arrive at a stage where the equations reduce to $f(x)=f(x+T)$ where "T" is the fundamental period.
But I cant think of a smart substitution, and any substitution I try only complicates the question further!
How do I find out the best substitution for a question of this type?
With the subst $y=x+1$ we get $$f(y)=f(y+2)+f(y+6)-f(y+4)$$ and if $y=x-1$ $$f(y)=f(y-2)+f(y+2)-f(y+4)$$
Then $f(y+6)=f(y-2)$, that is, the period of $f$ is $8$ (or a divisor).