# Having trouble with simple analysis problem

Suppose that $f(x)$ and $g(x+1)$ are real valued functions on $\mathbb R$ having period 1 and having continuous first derivatives.
(a) Prove that $f'(c)=g'(c)$ for some non-negative $c\in \mathbb R$.