The first 5 outputs are:

As you can see, the outputs keep doubling each time we increment x by 1.
This can be written formally, observing that if you know the value of
, the next value will be

So, again, we've shown that the next value is twice the previous one, so you have

1 gallon = 8 pints, so 2 gallons = 16 pints.
If each container can hold one pint, then she will need 16 containers.
Answer:
X=57
Step-by-step explanation:
77+46+X=180
123+X=180
X=180-123
X=57