The problem: Suppose $f$ is a continuous function on [0,2] and $f(0) = f(2)$. Prove that there exists $x,y \in [0,2]$ such that $|x-y| = 1$ and $f(x) = f(y)$.
Intuitively this makes sense after thinking about it for some time, but I do not know have to get going.