Let the amount of antifreeze be represented as X
The first brand is 45% pure antifreeze, this implies
[tex]\begin{gathered} 45\text{ percent of X} \\ =\frac{45}{100}\times X=0.45X \end{gathered}[/tex]The second brand is 70% pure antifreeze, this implies
[tex]\begin{gathered} 70\text{ percent of X} \\ =\frac{70}{100}\times X=0.70X \end{gathered}[/tex]Since 50 gallons of the mixture contains 65% pure antifreeze, this implies
[tex]\begin{gathered} 50=65\text{ percent of X} \\ 50=\frac{65}{100}\times X \\ 50=0.65X \\ X=\frac{50}{0.65}=76.923 \end{gathered}[/tex]Thus, the amount of antifreeze is 76.923.
To determine the amount of antifreeze in each brand, we have
First brand:
[tex]0.45X=0.45\times76.923=34.615[/tex]Second brand:
[tex]0.70X=0.70\times76.923=53.846[/tex]Hence, the first and second brands contain 34.615 and 53.846 gallons of antifreeze respectively.