We need to mix a quantity "x" of 80 percent acid with a quantity "y" of 20 percent acid to produce 840 ml of with 50 pct acid.
The first step to solve it is to calculate how much acid we need on the final solution, since it's 50%, then half of its volume must be of acid as shown below:
We need to mix the solutions in a way that their total volume is equal to 840 ml, while the sum of the volume of acid in each is equal to 420 ml.
To solve this system we first need to multiply the first equation by -0.2:
We can then add both equations to eliminate one variable.
To find the value of y we need to replace x by the calculated value above.
We need 420 ml of the 80% acid solution and 420 ml of the 20% acid solution.