1. Compute the moment-generating function of the binomial distribution;
  2. Use the mgf to compute the mean;
  3. Use the mgf to compute the variance.

Note: we already know from lecture that the mean is \(np\) and the variance is \(np(1-p)\), so you know you did it right when you get the same answer.