The percetnts of the M&M's are:
12% brown
15% yellow
12% red
23% blue
23% orange
15% green
a) The probability of selecting a random peanut not green is all the other percent but the green one:
Then the probability is 0.85
b) The probability of selecting a random peanut orange or brown is the percent of both colors added:
Then the probability is 0.35
For the next questions, we will assume a population of 100, 100 peanuts. It would make easier the analysis.
c) If you got 100 peanuts and you know that 15 of them are green, then the probability of both peanuts being green, we need to multiplicate the probability of the two events, like this:
Remember that these events are dependent events.
Then the probability is 7/330.
d) The same thing that in c) but with six peanuts, and having in mind the probability of selecting a none red peanut:
Then the probability is 0.455
e) Again it is a dependent event, so we use the same analysis that the points before, but with one change. We need to determine the probability of the selecting peanut would be red and multiplicate it by 6 because there be 6 attempts.
Then the probability is 0.72