we have 5 blue pens, 7 green pens, and 9 yellow pens How many different ways can we choose 2 of them if
a. The order is important
b. the order is not important
a) 9: Three colors for the first pen, three for the second
b) 6: If blue is first, the second can be any of the three. If green is first and you've already counted blue, you have two options. For yellow, your only option is yellow.