they travelled 15 miles
Step-by-step explanation:
let the number of miles = m
The total charge per ride= $8 + (amount for each mile × number of miles)
amount for each mile = $1.75
The total charge = $8 + ($1.75 × m)
The total charge per ride = 8 + 1.75m
Last customer paid $34.25
34.25 = 8 + 1.75m
collect like terms:
34.25 - 8 = 1.75m
26.25 = 1.75m
divide both sides by 1.75:
26.25/1.75 = 1.75m/1.75
m = 15
Hence, they travelled 15 miles