Yep, sorry I've fixed it up for you now, what you said is right :) Would you mind explaining the question to me so I can see where to start and learn how to approach this type of question?
By the way, the actual question has given a hint by letting g(x)=f(x+\frac{1}{2})-f(x) . I just wanted to...