Use generating functions to find the number of ways to select 10 balls from a large pile of red, white and blue balls if:
a) the selection has at least 2 balls of each color,
b) the selection has at least 2 red balls.
I can say that I understand generating functions themselves, but task about using them in task like this places me in position in which I don't have any idea how to even start thinking about it.