Question 1150271
<pre>
                          (gallons)    (miles)
              efficiency   volume      distance

firstcar        20         50-x       20(50-x)

secondcar       30          x          30x
   
TOTALS                      50         1150
</pre>

Solve the equation, {{{20(50-x)+30x=1150}}}.