At the start of her shift at Midtown Bakery, Megan made some batches of cookies that called for 3 cups of flour each. Then, she used the remaining 8 cups of flour she had to make a pan of muffins. She started her shift with a 20-cup bag of flour.

Which equation can you use to find how many batches of cookies, x, Megan made?
How many batches of cookies did Megan make?
Write your answer as a whole number or a simplified fraction.

The equation we can use to find how many batches of cookies, x, Megan made is:

3x = 20 - 8

Simplifying this equation, we get:
3x = 12

Dividing both sides of the equation by 3, we find:
x = 4

Therefore, Megan made 4 batches of cookies.