Answer:
The total distance David has to travel 20 miles.
The speed limit is 30 mph. He leaves supermarket at 18 10 , he has 50 minutes to get home before 1900.
when traveling within the speed limit he can reach on time because he has to travel only 20 miles which is possible and it won't take him 1 hour according to the 30 mph speed limit.