Answer:
1 bag of red and 6 bags of green apples.
Explanation:
We need to pick 7 bags of apples of different sizes so that the total number of apples = 17.
If Garret bought 1 bag of 5 then the other 12 apples would have to come in 6 bags.
That is 6 bags of 2 apples.