Presume we have two independent binomial random variables that both have success probability in a single trial of p. The random variable X denotes the number of successes in three trials, whereas the random variable Y represents the number of successes in two trials. We form a new random variable Z = X + Y.
1. What is the expected value of Z?
2. What is its probability distribution of Z?