Question 1129789
----
One drink contains L% fruit juice and another contains H% fruit juice. How many gallons of each type should be combined to make M gallons of a drink that contains T% fruit juice?
----


x, the gallons of the H% fruit juice
M-x, the gallon of the L% fruit juice
{{{L<H}}}


{{{(Hx+L(M-x))/M=T}}}


{{{Hx+LM-Lx=TM}}}


{{{(H-L)x+LM=TM}}}


{{{(H-L)x=TM-LM}}}


{{{highlight(x=(TM-LM)/(H-L))}}}


Find the value for x by substituting the given values:
{{{system(L=5,H=50,T=40,M=5)}}}