Answer:
![f(g)=25g](https://img.qammunity.org/2020/formulas/mathematics/middle-school/l3wyce5f3o69b339inyob3xici4cwwln50.png)
Explanation:
Let
be the number of gallons so
is the number of miles traveled per
gallons.
We know for our problem that Brian's car gets 25 miles per gallon. Since the gallons is represented by
, his car will travel a total distance of 25g (where g is the number of gallons.
We also know that the total distance is given by
, so we can put the two expressions together to get our function:
![f(g)=25g](https://img.qammunity.org/2020/formulas/mathematics/middle-school/l3wyce5f3o69b339inyob3xici4cwwln50.png)
Let's check:
- If he uses 1 gallon (g=1), so
![f(1)=25(1)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/krmgorlz9chsr1dknffz159y2q9z70z79f.png)
miles
He will travel 25 miles with one gallon.
- If he uses 2 gallons (g=2), so
![f(2)=25(2)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/xvmgb3o0xfqh8nj3mol6ehd3cc9zn2bqgv.png)
![f(2)=50](https://img.qammunity.org/2020/formulas/mathematics/middle-school/ykdob2imcpfyes0t52ty76ijzh7qu8o12z.png)
He will travel 50 miles with two gallon.