Well, we need two different sorts, so we have a total combination of 9 for 10 different flavour.
For example, if we consider each flavour a number, then : (1,2) (1,3) ... til (1,10)
Now, if we want to see for the second flavour, we already did the combination (1,2), so we must substract 1...