Build generating function for ar, the number of r selections from
(a) Five red, five black and four white balls.
(b) Five jelly beans, five licorice sticks, eight lollipops with at least one of each type of candy.
(c) Unlimited amounts of pennies, nickels, dimes and quarters.
(d) Six types of lightbulbs with an odd numbers of the first and second types.