A chemist want to mix a 40% acid solution with a 70% acid solution to make 6 liters of a 50% acid solution. How much of each type of solution should the chemist use? Show your Work. I NEED HELP ASAP, PLZ HELP

Answer:
2 liters of 70%
4 liters of 40%
Step-by-step explanation:
Let
x = liters of 70%
Then the remaining amount is
6 - x = liters of 40%
---------------------------------
Mixing
(70% of x) + (40% of 6 -x) (to get) 50% of 6)
70(x) + 40(6-x) = 50(6)
Simplify
70x + (240 - 40x) = 300
Combine like terms
30x = 60
Divde both sides by 30
x = 2 liters of 70%
6 - x = 4 liters of 40%