Answer:
The probability that it is a cookie is

Explanation:
To find the probability that it is a cookie if he chooses one at random;
probability = required outcome / all possible outcome
The all possible outcome will be gotten by adding up all the snacks. that is;
required outcome = 5 + 8 + 2 = 15
The required outcome is the snack he chooses, that is; required outcome = 2
Probability (of choosing a cookie) =required outcome / all possible outcome
=

Therefore, the probability that it is a cookie is
