Question 5Let $p(x)$ be a polynomial with real coefficients such that, for all real $x$, $2(1+p(x))=p(x-1)+p(x+1)$, and $p(0)=8$, $p(2)=32$. Determine $p(40)$.