Answer:
To find out how many can be filled, divide the number of pounds of candy by the number of pounds a single bag can hold.
40 can be considered 40/1.
So,
40/1 ÷ 5/7
Make 5/7 a reciprocal(basically flipping the fraction upside down):
40/1 ÷ 7/5
Convert the division symbol into a multiplication symbol:
40/1 × 7/5
Solve!

Cancel:

= 56 bags can be filled.