Given a function $f: \mathbf{N}_0 \to \mathbf{N}_0$, defined $$ f(x) = \begin{cases} x+3 & \text{if } x \in \mathbf{N}_{\text{even}} \\ x-1 & \text{if } x \in \mathbf{N}_{\text{odd}} \end{cases} $$
Is the composed function $f o f = x + 2$ if $x ∈ {N}_0$ ?
The answer is yes. If you want to justify it, simply note that for $x$ even and $y$ odd we always have $x+y$ is odd.