Answer:
There are 24 green M&M's.
Explanation:
The ratio of green M&M's to yellow is 2:5
Let green color be 2x.
Let yellow color be 5x.
we get

There are 84 M &M's in the bag all together, means

Now dividing both sides by 7;
x = 12
Green color are = 2x
=

Hence, there are 24 green M&M's.