Let $Z$ be a discrete random variable with $P(Z = z)$ = $1/2^z$ for $z = 1, 2, 3,...$
(b) Compute $m_Z (t)$. Verify that $m'_Z (0)$ = $E(Z)$ and $m''_Z(0) = E(Z^2)$
$E(Z) = \sum_{z=1}^{\infty} z P(Z = z) =\sum_{z=1}^{\infty} \frac{z}{2^z}$ Not sure how to proceed. $z^2$ for $E(Z^2)$
$m_z(t) = E[e^{tz}] = \sum_{z=1}^{\infty} \frac{e^{tz}}{2^z} = \sum_{z=1}^{\infty} (2e)^{tz - z} = \sum_{z=1}^{\infty} (2e)^{z(t-1)} = \frac{(2e)^{t-1}}{1-2e}$
Not sure if above is right.
I know afterward, I would just take the derivative of $m_z(t)$ once and twice and set $t = 0$ to verify but having trouble simplifying.
It is not true that $$\frac{\exp(tz)}{2^z}=(2\text{e})^{tz-z}\,.$$ You can easily check that your version of $m_Z$ does not satisfy $m_Z(0)=1$. The correct moment generating function should be $$m_Z(t)=\sum_{z=1}^\infty\,\frac{\exp({tz})}{2^z}=\sum_{z=1}^\infty\,\left(\frac{\exp(t)}{2}\right)^z=\frac{\left(\frac{\exp(t)}{2}\right)}{1-\left(\frac{\exp(t)}{2}\right)}=\frac{\exp(t)}{2-\exp(t)}\,.$$
It should be easy to find $m_Z'$ and $m_Z''$ now. As for the calculations of $\mathbb{E}[Z]$ and $\mathbb{E}[Z^2]$, this link should be very useful: Proof of the equality $\sum\limits_{k=1}^{\infty} \frac{k^2}{2^k} = 6$.