Answer:
The amount of gas the car used is;
![3.5\text{ gallons}](https://img.qammunity.org/2023/formulas/mathematics/college/x01atcnml1tbu15ruo08pb7rdnjjo6mwju.png)
Step-by-step explanation:
Given the equation;
![m=40g](https://img.qammunity.org/2023/formulas/mathematics/college/2iplfjth9cvgxbs8hp2dk1zcbpe18itomy.png)
where;
m = distance in miles that a car can travel using g gallons of gas.
If the car has gone 140 miles ;
![m=140\text{ miles}](https://img.qammunity.org/2023/formulas/mathematics/college/bn90jdl0z3uqaa00er8odllo6j149t5oe8.png)
Substituting the value of m;
![\begin{gathered} 140=40g \\ g=(140)/(40) \\ g=3.5\text{ gallons} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/p4ts5q2t7pxkeik7z3g1lihhczx26h0giv.png)
Therefore, the amount of gas the car used is;
![3.5\text{ gallons}](https://img.qammunity.org/2023/formulas/mathematics/college/x01atcnml1tbu15ruo08pb7rdnjjo6mwju.png)