Answer:
Erin made 5.5 dozen cookies.
Explanation:
Total cookies made by Kim, Mary and Erin = 24 dozen cookies
Let Erin make cookies = x dozens
Mary made cookies = 2x dozens
Kim made cookies = x+2 dozens
Now, we need to find how many cookies did Erin made.
We can write:

Solving the equation we get:

So, Erin made cookies = x = 5.5 dozens
Mary made cookies = 2x =2(5.5) = 11 dozens
Kim made cookies = x+2 =5.5+2 = 7 dozens
Therefore, Erin made 5.5 dozen cookies.