To solve this, you need to do the following.
Count the number of each color of M&Ms.
How many red? blue? orange? yellow? green? black?
I may not be right about the colors.
Make a table
Color frequency = # M&Ms
relative frequency = #yellow M&Ms / total number of M&Ms or
relative frequency = #red M&Ms / total number of M&Ms
The relative frequency is also the probability of picking each color
This will be done for your group and for the class as a whole.
Do things differ by group and for the class as a whole?