First of all we need to make a draw to understand the problem:
It means a 25% of concentration in all capacity of the car's radiator.
Now we need to make a equation that represents the conditions of the problem.
Let x = amount of 25% solution drained and amount of pure antifreeze to be added:
0.25*(12-x) +x: represents the quantity of tons to be drained of 25% (25%=0.25) and the quantity of coolant in tons to be added (the last x added)
The last equation will be equal to 12 tons of mix to 50% (50% = 0.5), it means:
0.50*(12)
Finally, we solve the system of equations:
Then, the answer will be that you need drain 4 tons of mix at 25% and add 4 tons of pure coolant.
Now, if you need convert tons to gallons or liters.. you need to know that:
1 ton = 31.75471 gallon
4 tons = 4*(31.75471) = 127.01884, we can approximate to 127 gallons
Then you answer in gallons will be: you need drain 127 gallons of mix at 25% and add 127 gallons of pure coolant.