Please explain your answer as well. THX!!

Answer:
option b
6 C 2 + 6
Step-by-step explanation:
Given in the question that,
number of pink beans = 87
number of purple beans = 74
number of white beans = 35
number of black beans = 70
number of orange beans = 25
number of green beans = 47
if two beans selected are different
6 C 2
(6 colours of beans)
if two beans selected are same
6 C 1 = 6
(6 colours of beans)
total sample space will be
6 C 2 + 6