A bus traveling between $2$ towns arrives $7$ minutes late when traveling $40$ mph. When traveling $36$ mph, the bus arrives $22$ minutes late. What is the distance between the two towns?
Here's what I did:
$x=$ original time
$40(x+7) = 36(x+22)$
$x=128$, so when you substitute $x$ for one of the expressions, you get $40(128+7)=5400$, so 5,400 miles?
Your problem is that the way you set things up, $x$ is a number of minutes (which you can see when you notice that we are adding $7$ or $22$ minutes to $x$). So you correctly deduced that $x$ is $128$ minutes and then went astray by multiplying a number of miles per hour times a number of minutes.
What you should have done in the last step is to multiply $\frac{40}{60}$ miles per minute by $128+7$ minutes, getting an answer of $90$ miles.