[Among many other things I teach is using observation-reading-based shortcuts. This word problem calls for that.]
20% resulting solution strength is exactly the arithmetic average of the original solution strengths. Then, we shall mix equal volumes of the original solutions.
[You may want to verify the answer, especially as the solution we arrived at saved us time. So:
10 gallons of 30% solution have 10 * (30/100) = 3 gallons of salt. AND
10 gallons of 10% solution have 10 * (10/100) = 1 gallon of salt. SO
20 gallons of the mix have 3 + 1 = 4 gallons of salt.
4 gallons of salt 20 gallons of the resulting solution comes to 4/20 = 20/100 = 20% salt solution, as required.]
If the problem requested to show your mathematical thinking, I would recommend to have on the test the following.
-------------------------------------------------------------------------------------------------
20% resulting solution strength is exactly the arithmetic average of the original solution strengths. Then, we shall mix equal volumes of the original solutions.
Answer: 10 gallons of the 30% salt solution.
---------------------------------------------------------------------------------------------------