Question 575062
Mixture problems are solved by setting up two equations: one for the total mixture amount balance, and another for the amount balance for the compound of interest.
In algebra, little attention is paid to the science, or the units, and any volume changes due to mixing are ignored.
Chemists are truly a dying breed
http://www.chemicalprocessing.com/articles/2011/cartoon_caption_62.html
So I'll pretend I'm not a chemist.
Let x be the volume of 50% solution to be used.
Let y be the volume of 20% solution to be used.
Total solution balance
{{{x+y=150}}} (all quantities are in mL, and volumes are additive)
Amount of acid balance:
Let's assume that the percentages are in v/v (volume to volume basis), so that a 50% solution contains 50 mL of acid (whatever is meant by that) in a total volume of 100 mL.
The amount (in mL) of acid in x mL of 50% solution is (0.50)x, and the amount (in mL) of acid in y mL of 20% solution is (0.20)y.
The total amount of acid in x mL of 50% solution plus y mL of 20% solution is:
{{{0.5x+0.2y}}}
We want that to be the amount of acid in 150 mL of 40% solution, which is (0.40)150,  and
{{{0.40*150=60}}}, so
{{{0.5x+0.2y=60}}}
We need to solve the system of equations
{{{system(x+y=150,0.5x+0.2y=60)}}}
There are several ways to solve the system.
USING ELIMINATION:
You could multiply the second equation times 2 to get
{{{x+0.4y=120}}} and then subtract it from the first equation to get
{{{x+y-(x+0.4y)=150-120}}} --> {{{x+y-x-0.4y=30}}} --> {{{y-0.4y=30}}} --> {{{y(1-0.4)=30}}} --> {{{0.6y=30}}} --> {{{0.6y/0.6=30/0.6}}} --> {{{y=50}}}
And then, substituting the value found for y into {{{x+y=150}}}, you would get
{{{x+50=150}}}, which you could solve for x to find {{{x=100}}}.
You need to mix {{{highlight(100)}}} mL of 50% solution with {{{highlight(50)}}} mL of 20% solution to get 150 mL of 40% solution.