Answer:
20
Explanation:
We need to determine what fraction of the container 6 gallons is. We know the difference between 2/5 and 7/10 is 6 gallons, so all we have to do is solve for 7/10 - 2/5. The common denominator is 10, as both 5 and 10 are factors of 10. 10/5 is 2, so we multiply the numerator of 2/5 by 2.
7/10 - 4/10 = 3/10
We now know that 6 gallons is 3/10 of the container. Now we solve.
10/3 = 3 1/3
So:
6 x 3 1/3 = 20