We can use the formula d = rt in getting the algebraic equation for the two cars where; d = distance, r = rate, t = time.
Given:
[tex] r_{1} [/tex] (blue car) = 35 miles per hour
[tex] r_{2} [/tex](red car) = 70 miles per hour
distance between the two towns = 140 miles
[tex] t_{1} [/tex] (blue car)= no. of hours the blue car travels
[tex] t_{2} [/tex](red car) = no. of hours the red car travels
Linear equation for the blue car
[tex]d=( r_{1})( t_{1}) [/tex]
[tex]140=(35)( t_{1}) [/tex]
[tex]140/35= t_{1} [/tex]
[tex] t_{1}=4 hours [/tex]
blue car travels 4 hours from town A to town B.
Linear equation for the red car
[tex]d=( r_{2})( t_{2}) [/tex]
[tex]140=(70)( t_{2}) [/tex]
[tex]140/70= t_{2} [/tex]
[tex] t_{2}=2 hours [/tex]
red car travels 2 hours from town A to town B.