Answer:
Red paint = 12.5 gallons
Blue paint = 7.5 gallons
Step-by-step explanation:
The given ratio of red paint to blue paint is:
Let x be the number of gallons of purple paint.
Therefore, the expression for each color of paint needed per x gallons of purple paint is:
[tex]\implies \textsf{Red\;paint $=\dfrac{5}{8}x$}[/tex]
[tex]\implies \textsf{Blue\;paint $=\dfrac{3}{8}x$}[/tex]
To calculate the number of gallons of red and blue paint needed to make 20 gallons of purple paint, substitute x = 20 into the found expressions:
[tex]\implies \textsf{Red\;paint $=\dfrac{5}{8} \times 20=\dfrac{100}{8}=12.5$}[/tex]
[tex]\implies \textsf{Blue\;paint $=\dfrac{3}{8}\times 20=\dfrac{60}{8}=7.5$}[/tex]
Therefore, the number of gallons of paint that should be used are: