Answer: The required number of yellow jelly beans is 36.
Step-by-step explanation: Given that the ratio of red jelly beans to yellow jelly beans in a dish is 3:4. If Greg eats 3 red jelly beans and six yellow ones, the ratio is 4:5.
We are to find the number of jelly beans that were originally on the dish.
Let 3x and 4x represents the number of red jelly beans and yellow jelly beans respectively.
Then, according to the given information, we have

So, the number of yellow jelly beans is given by

Thus, the required number of yellow jelly beans is 36.