Answer: Our required equation would be

Explanation:
Since we have given that
Number of miles = 140
Number of gallons of gasoline = 5
Let the distance in miles be 'd'.
Let the number of gallons of gas be 'g'.
According to question, we get that

Hence, our required equation would be
