there are 9 red gumballs, 5 green gumballs, 8 yellow gumballs, and 8 blue gumballs in a machine, find the probability of getting a green gumball, then yellow

To find the probability of getting a green gumball, we'll first find the total number of gumballs in the machine:

9 red + 5 green + 8 yellow + 8 blue = 30 total gumballs

Now, we'll find the probability of getting a green gumball:

P(green) = (number of green gumballs) / (total number of gumballs) = 5 / 30 = 1 / 6

Next, we'll find the probability of getting a yellow gumball:

P(yellow) = (number of yellow gumballs) / (total number of gumballs) = 8 / 30 = 4 / 15

So the probabilities are:

P(green) = 1/6
P(yellow) = 4/15