"How many signals, each is composed by 9 flags hung in a vertical line, can be formed from 3 identical yellow flags, 4 identical blue flags, and 2 identical red flags?"
Answer : 1260
9!/(2!3!4!)
I'm sure this is in your notes...
It's just like asking how many different words can be formed from the letters AAAABBBCC