contestada

Garret bought 7 bags of apples. The red Apple came in bags of 5 and green came in bags of 2. Garret bought a total of 17 apples. How many of each type of apple did he buy.