Kelly, a chemist, was asked to prepare 24 gallons of a solution that is 50% acidic by mixing a solution that is 20% acidic with another solution that is 70% acidic. How much of each solution should she use?
--------------------------------------------------------
It is a typical mixture word problem.
See the lesson Solving typical word problems on mixtures for solutions in this site, Problem 1.
This problem is very similar to yours.
In this lesson you will find the detailed solution.
Consider it as a sample. Read it attentively.
Then solve your problem by substituting your data.
In this way you will learn how to solve problems like this, once and for all .