9. A coin is loaded so that heads is three times as likely as the tails. For 3 independent
tosses of the coin find the pmf of the total number of heads realized and the probability of
realizing at most 2 heads.