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:

Solve the equation to find (x):

So, the answer will be 2.6 gallons