We can use the formula d = rt in getting the algebraic equation for the two cars where; d = distance, r = rate, t = time.
Given:
![r_{1}](https://tex.z-dn.net/?f=%20r_%7B1%7D%20)
(blue car) = 35 miles per hour
![r_{2}](https://tex.z-dn.net/?f=%20r_%7B2%7D%20)
(red car) = 70 miles per hour
distance between the two towns = 140 miles
![t_{1}](https://tex.z-dn.net/?f=%20t_%7B1%7D%20)
(blue car)= no. of hours the blue car travels
![t_{2}](https://tex.z-dn.net/?f=%20t_%7B2%7D%20)
(red car) = no. of hours the red car travels
Linear equation for the blue car
![d=( r_{1})( t_{1})](https://tex.z-dn.net/?f=d%3D%28%20r_%7B1%7D%29%28%20t_%7B1%7D%29%20%20)
![140=(35)( t_{1})](https://tex.z-dn.net/?f=140%3D%2835%29%28%20t_%7B1%7D%29%20)
![140/35= t_{1}](https://tex.z-dn.net/?f=140%2F35%3D%20t_%7B1%7D%20)
![t_{1}=4 hours](https://tex.z-dn.net/?f=%20t_%7B1%7D%3D4%20hours%20)
blue car travels 4 hours from town A to town B.
Linear equation for the red car
![d=( r_{2})( t_{2})](https://tex.z-dn.net/?f=d%3D%28%20r_%7B2%7D%29%28%20t_%7B2%7D%29%20%20)
![140=(70)( t_{2})](https://tex.z-dn.net/?f=140%3D%2870%29%28%20t_%7B2%7D%29%20)
![140/70= t_{2}](https://tex.z-dn.net/?f=140%2F70%3D%20t_%7B2%7D%20)
![t_{2}=2 hours](https://tex.z-dn.net/?f=%20t_%7B2%7D%3D2%20hours%20)
red car travels 2 hours from town A to town B.