Let be the volume of 20% solution, the volume of the 60% solution. We want a total volume of 400 mL in the final mixture, so
Each mL of either solution will contribute a corresponding concentration, and in the final mixture we want the 400 mL to have a 40% concentration, which means we should also have