Answer:
25 gallons
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
[tex]\frac{1}{2}x-5=\frac{3}{10}x[/tex]Now, we can solve the expression for x, so
[tex]\begin{gathered} \frac{1}{2}x-5+5=\frac{3}{10}x+5 \\ \frac{1}{2}x=\frac{3}{10}x+5 \\ \frac{1}{2}x-\frac{3}{10}x=\frac{3}{10}x+5-\frac{3}{10}x \\ \frac{1}{5}x=5 \\ 5\cdot\frac{1}{5}x=5\cdot5 \\ x=25 \end{gathered}[/tex]Therefore, the container can hold 25 gallons.