Shirley has two containers of water for a camping trip. One container holds 2 times as much as the other. The total amount of water is 30 gallons. How much water is in each container?

x + 2x = 30

solve for x; that is the smaller volume.

To solve this problem, we can set up a system of equations based on the information given.

Let's assume that the smaller container holds x gallons of water. According to the problem, the larger container holds 2 times as much, so the larger container holds 2x gallons of water.

The problem also states that the total amount of water is 30 gallons, so we can write the equation:

x + 2x = 30

Combining like terms:

3x = 30

Now we can solve for x by dividing both sides of the equation by 3:

x = 10

This means that the smaller container holds 10 gallons of water. Since the larger container holds 2 times as much, the larger container holds:

2 * 10 = 20 gallons of water.

So, Shirley has 10 gallons of water in one container and 20 gallons in the other container.