Question: how many possible combinations with 3 items?
Answer: There are 18 combinations for this arrangement (3x3x2). Finally, each spot can be a different color (rby, ryb, bry.....). There are 6 combinations for this arrangement (3x2x1). Hope this helps!