Two cars are traveling on two different routes, one 43 miles longer than the other. The car traveling on the…