2. (15%) Consider the experiment of tossing a fair coin three times. Let X denote the number of heads on the first two tosses and Y denote the number of heads on all three tosses.
(a) \((6\%)\) Find the joint probability mass function (pmf) of \((X,Y)\).