Find all functions $f(x)$ for $x\in \mathbb{R},$ such that $f(1+x) = f(1-x)$ and $f(2+x) = f(2-x)$.
A little bit of arrangement in the first equality will give $f(x) = f(2-x)$. $\implies f(x) = f(x+2)$. This is a function with periodicity $2$. So all functions with periodicity $2$ are $f(x)$.
Another obvious solution is $f(x)=c$ where $c$ is a constant. Are there any other possible functions?