Answer:
There are 40 pieces in the third bag and 20 in the fourth.
Explanation:
We can add the 22 and the 18 together to get 40. Then we subtract that from the whole, which is, in this case, 100, getting 60. If the third bag has twice as many as the fourth, then it is in a ratio of 2:1. 2+1 is equal to 3, and 60/3 is equal to 20. 20 is equal to one part. Since the third bag has two parts, it has 40, and since the fourth only has one, it has 20.