Answer:
18 gallons from container
and 22 gallons from the container
to be mixed to get the required mixture.
Explanation:
Given that the container
has 20% concentrated cleaner
and container
has pure water which has 0% cleaner.
Let x gallons from container a and y gallons from the container b are mixed to get a 9% concentrated solution.
So,

As the total amount of the final solution= 40 gallons
So,

Using the value of equation (ii) in equation (i), we have
9% of 40 = 20% of x


gallons.
From equation (ii),
18+y=40
gallons.
Hence, 18 gallons from container
and 22 gallons from the container
to be mixed to get the required mixture.