Answer:
![Highway = 155\ miles](https://img.qammunity.org/2022/formulas/mathematics/high-school/k30msfi0ryx3cawth0g13bilivtydegkcm.png)
![City = 130\ miles](https://img.qammunity.org/2022/formulas/mathematics/high-school/yf9g7ny0e2li4r4bd283fliztjp5lnw0l9.png)
Explanation:
Given
![Highway = 31mi/gallon](https://img.qammunity.org/2022/formulas/mathematics/high-school/1on5szun31677zs2v4esvbttu7wbwkvjh9.png)
![City = 26mi/gallon](https://img.qammunity.org/2022/formulas/mathematics/high-school/5ee48eapqmplbe56umuedzsvxo75r9xxr9.png)
![Total\ Miles = 285](https://img.qammunity.org/2022/formulas/mathematics/high-school/m76r8utfwjp1zn1pcan6ytknrj9lldejza.png)
![Total\ Gallons = 10](https://img.qammunity.org/2022/formulas/mathematics/high-school/u20wqg56o3ewzt1jdbax2nyib0oxtgp13d.png)
Required
Determine the number of miles driven on the highway and on the city
Represent the gallons used on highway with h and on city with c.
So, we have:
---- gallons used
and
--- distance travelled
In the first equation, make c the subject
![c = 10 - h](https://img.qammunity.org/2022/formulas/mathematics/high-school/9a1w7tvu113bvondk56pqljd606d693fst.png)
Substitute 10 - h for c in the second equation
![31h + 26c = 285](https://img.qammunity.org/2022/formulas/mathematics/high-school/t2e5uanbrry2w78b2y4m27nr3xs51madal.png)
![31h + 26(10 - h) = 285](https://img.qammunity.org/2022/formulas/mathematics/high-school/xvfqjiev6eo1ohr33adtpx7x83oysuu4nc.png)
Open bracket
![31h + 260 - 26h = 285](https://img.qammunity.org/2022/formulas/mathematics/high-school/5m2vd4kf872t0i9cbj6axy3gespa38endp.png)
Collect like terms
![31h - 26h = 285 - 260](https://img.qammunity.org/2022/formulas/mathematics/high-school/u22a440ofjyvwjf0cpres87682uku6uwbo.png)
![5h = 25](https://img.qammunity.org/2022/formulas/mathematics/high-school/rl0fq5qgkywe187x2lt8bqilnwiz28a3i2.png)
Make h the subject
![h = (25)/(5)](https://img.qammunity.org/2022/formulas/mathematics/high-school/2ntp2bvw19bp77rs5kct2i2dw3csjvqiwb.png)
![h = 5](https://img.qammunity.org/2022/formulas/mathematics/high-school/xbmxnby1b9m6e25q9dfbmig1xydciuo81i.png)
Substitute 5 for h in
![c = 10 - h](https://img.qammunity.org/2022/formulas/mathematics/high-school/9a1w7tvu113bvondk56pqljd606d693fst.png)
![c = 10 - 5](https://img.qammunity.org/2022/formulas/mathematics/high-school/iq2ep2iupp3fsyevbnr4twvw4ot5uvwenu.png)
![c = 5](https://img.qammunity.org/2022/formulas/mathematics/high-school/ew0x1lbr34x20u4o7dn1t2x083xah9fl35.png)
If on the highway, he travels 31 miles per gallon, then his distance on the highway is:
![Highway = 31 * 5](https://img.qammunity.org/2022/formulas/mathematics/high-school/v848v8xuuuk2dc5tsavzgsl3irt14iiys2.png)
![Highway = 155\ miles](https://img.qammunity.org/2022/formulas/mathematics/high-school/k30msfi0ryx3cawth0g13bilivtydegkcm.png)
If in the highway, he travels 26 miles per gallon, then his distance on the highway is:
![City = 26 * 5](https://img.qammunity.org/2022/formulas/mathematics/high-school/3ibslqarkqi35jo25mfyfgxydyjo3p7qd6.png)
![City = 130\ miles](https://img.qammunity.org/2022/formulas/mathematics/high-school/yf9g7ny0e2li4r4bd283fliztjp5lnw0l9.png)