John took a drive to town at an average rate of 40 mph in the evening he drove back at 30 mph if he spent a total of seven hours traveling what is the total distance traveled by John
Distance = rate * time and the distance is the same both ways
40 t = 30 ( 7-t )
40 t = 210 - 30t
70t = 210
t = 3 one way distance is then 40 t = 120 roundtrip total distance = 240 miles