A has two pennies; B has one. They match pennies until one of them has all three. Let X denote the number of trials required to end the game. (a) What is the density function of X? (b) Find the mean and variance of X. (c) What is the probability that B wins the game?