Edgar has 7 gallons of gas ⛽️ remaining in his car after driving for 30 miles he had 4 gallons left in the tank how many gallons will be left in the take after driving 50 miles Please show work in organized steps

Respuesta :

Answer:

2 gallons left after driving 50 miles

Step-by-step explanation:

Edgar has 7 gallons of gas remaining in his car after driving for 30 miles he had 4 gallons left in the tank

Initially he has 7 gallons of gas

after 30 miles 4 gallons left

Let m be the number of miles and g be the gallons left

(0,7)  (30,4)

find slope using formula [tex]\frac{y_2-y_1}{x_2-x_1} =\frac{4-7}{30-0} =\frac{-1}{10}[/tex]

y intercept b= 7

so equation becomes

[tex]g=mx+b\\g=\frac{-1}{10} x+7[/tex]

now find out g when m= 50 miles

[tex]g=\frac{-1}{10} x+7\\ g=\frac{-1}{10}(50)+7=2[/tex]

so 2 gallons left after driving 50 miles