Tom has a red marble, a green marble, a blue marble, and three identical yellow marbles. How many different groups of two marbles can Tom choose?

Let's think step by step and output the final answer within \boxed{}.
user