C represents how many different ways you can choose a couple of elements out of a set.
So there's 15 different balls and you choose two.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
If you were to write out all of the different ways you could choose two balls, it'd be like: 1 and 2, 1 and 3, 1 and 4, 1 and 5.. really long list here ... 14 and 15.
How do you found out how long that list is? The number of elements in that list is 15 C 2. The C represents how many ways there are to "choose" 2 elements out of the list of 15.
So let's say that 11-15 are the blue balls, and 1-10 are the non-blue balls. How many different ways can you pick two non blue balls?
1 2 3 4 5 6 7 8 9 10
The list would be.. 1 and 2, 1 and 3, 1 and 4, 1 and 5 ... long list here ... 9 and 10. This would be just like the other list, except any pair containing a blue ball isn't valid here. 4 and 13 is in the other list, but not this one. So this one is shorter.
So how long is this list? 10 C 2.
What's the general formula for probabilty of an outcome? It's valid outcomes / possible outcomes.
So here, you can use 10 C 2 / 15 C 2. Which is what your teacher did.