Find all strictly increasing functions $f : \Bbb {Z} \rightarrow \Bbb{Z}$ such that $f (f (x)) = x + 2$ for all integers $x$ .
I completely understood till we get $f(x+1)=f(x)+1$ . But, I couldn't understand this line , "In other words, $f (x) = x + f (0)$ for all integers $x$." .
Thanks in advance!

Given any $n$, we have \begin{align*} f(n) &= f(n-1) + 1\\ f(n-1) &= f(n-2) + 1\\ &\dots\\ f(1) &= f(0) + 1\\ \end{align*} Adding everything up, we get $f(n) = f(0) + n$. Alternatively, you can use induction.
P.S. Care for negative $n$.