Answer:
9 red and 3 yellow.
Step-by-step explanation:
I just multiplied 3 bags of yellow by 9 so now i have 27 onions that take up space, and 18 spots left. Divide that 18 by 2 and get 9 red.