How many gallons of 12% ethanol solution is needed to produce a 10% ethanol solution

We are asked to determine how much of a 12% ethanol fuel mixture should be mixed with 10 gallons of 4% ethanol fuel mixture to get a mixture that is 10% ethanol.
Let x be the required number of gallons of ethanol mixture.
The amount of ethanol fuel mixture in x gallons of solution with 12% ethanol fuel mixture is given by
[tex]x\times0.12=0.12x[/tex]The amount of ethanol fuel mixture in 10 gallons of solution with 4% ethanol fuel mixture is given by
[tex]10\times0.04=0.4[/tex]The amount of ethanol fuel mixture in (10+x) gallons of solution with 10% ethanol fuel mixture is given by
[tex](10+x)\times0.10=1+0.10x[/tex]So, the equation becomes
[tex]0.12x+0.4=1+0.10x[/tex]Let us solve the above equation for x.
[tex]\begin{gathered} 0.12x+0.4=1+0.10x \\ 0.12x-0.10x=1-0.4 \\ 0.02x=0.6 \\ x=\frac{0.6}{0.02} \\ x=30 \end{gathered}[/tex]30 gal of 12% ethanol solution is needed to produce a 10% ethanol solution.