Answer: the probability of selecting a sugar cookies is 4/23
The probability of selecting an oatmeal cookies after eating a sugar cookies is 5/22
Explanation: probability is the chances of a possible outcome.
In the bag we have;
9 chocolate chip cookies
5 peanut butter cookies
4 sugar cookies
5 oatmeal cookies
Therefore the total cookies in the bag is
9 + 5 + 4 + 5 = 23
The probability of Sergio to randomly select sugar cookies in the bag is the member of sugar cookies all over the total number of cookies;
4/23
The probability of selecting an oatmeal cookies, after eating one sugar cookies is the number of oatmeal cookies all over the remaining total number of cookies after eating one sugar cookies.
5/22