Answer:
25 gallons
Step-by-step explanation:
Let's call x the number of gallons that the container can hold.
The container starts half full, so it starts with (1/2)x gallons, then they pour out 5 gallons to let the container 3/10 full, so we need to subtract 5 gallons to get (3/10)x gallons. It means that we can write the following equation
Now, we can solve the expression for x, so
Therefore, the container can hold 25 gallons.