A biologist has two brine solutions, one containing 3% salt and another containing 12% salt. How many milliliters of each solution should he mix to obtain 1 L of a solution that contains 8.4% salt?
So your final solution (no pun intended) will be 1000 millilitres made up of 8.4% salt and 91.6% water.
So A*0.03 + B* 0.12 = 84, pairing the salts with the salts.
A*0.97 + B*0.88 = 916, pairing the water with the water.
So you're left with a pair of simultaneous equations to solve.