Given:
A tank has a capacity of 13 gallons. When it is full.
The tank contains 20% alcohol.
We will find the number of gallons that must be replaced with a 70% alcohol solution to give 13 gallons of 30% solution
Let the number of gallons that must be replaced = x
so, there are x gallons with a 70% alcohol and (13 -x) with a 20% alcohol.
So, we can write the following equation:
![70x+20(13-x)=30*13](https://img.qammunity.org/2023/formulas/mathematics/college/vewd3u1pxdugub1wwqel9bl9wobb1rxeou.png)
Solve the equation to find (x):
![\begin{gathered} 70x+20*13-20x=30*13 \\ 50x+260=390 \\ 50x=390-260 \\ 50x=130 \\ x=(130)/(50)=2.6\text{ gallons} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/99oxlix1y7nwnv54g7mbqievso03ry696o.png)
So, the answer will be 2.6 gallons