Probability that Riley randomly selects a chocolate chip cookie from the bag, eats it, and then randomly selects a peanut butter cookie is 20/441
Total number of cookies = 5 + 4 + 8 + 4 = 21
Number of chocolate chip cookies = 5
Number of peanut butter cookies = 4
Number of sugar cookies = 8
Number of oatmeal cookies = 4
Probability of selecting chocolate chip cookies = 5/21
Probability of selecting peanut butter cookies = 4/21
Probability of selecting sugar cookies = 8/21
Probability of selecting oatmeal cookies = 4/21
P(selects chocolate chip cookie, eats it, then selects peanut butter cookie) =
(5/21) x (4/21) = 20/441 --> 20/441
Learn more about probability:
https://brainly.com/question/11234923
#SPJ4