Answer: 8 and 20
Step-by-step explanation:
From the question, we are informed that 28 pieces of candy are put into 2 groups in the ratio is 2 to 5.
The number of pieces of candy that will be in each group will be:
1st group = 2/(2 + 5) × 28
= 2/7 × 28
= 2 × 4
= 8
2nd group = 5/(2 + 5) × 28
= 5/7 × 28
= 5 × 4
= 20