A car travels along a straight line at a constant speed of 48.5 mi/h for a distance d and then another distance d in the same direction at another…