Answer: 7 gallons; 14 gallons
Explanation:
Let the amount of water in the first container be x.
Since one container holds 2 times as much as the other, the second container will be: = x × 2 = 2x
The total amount of water is 21 gallons. This means:
x + 2x = 21
3x = 21
x = 7 gallons
First container = 7 gallons
Second container= 2x = 2×7 = 14 gallons