$\phi(p(p+2)) = \phi (p)\phi(p+2)$
$\sigma(p(p+2)) = \sigma (p) \sigma (p+2)$
Now use fact that $\phi (q) = q-1, \sigma(q) = q+1$ where $q$ is prime.