ANSWER
8 liters of the first solution and 4 liters of the second solution.
Step-by-step explanation
The equations that govern the situation have been given as:

where A represents the amount of the first solution and B represents the amount of the second solution.
From the first equation, we can make A the subject of the formula:

Substitute that into the second equation:

To find A, substitute the obtained value of B into the equation for A:

Hence, you would need 8 liters of the first solution and 4 liters of the second solution.