Answer:
a. hare won the race.
b. race would be 33.33 miles long to be tie.
Step-by-step explanation:
The speed of tortoise = 4 miles per hour.
and the speed of hare = 10 miles per hour
a. If the race is 40 miles long.
Tortoise complete the race = 
= 10 hours
Hare complete the race = 
= 4 hours
Hare took a 5-hour nap so his race completed = 4 + 5 = 9 hours
Therefore, Hare won the race.
b. Let the distance of race = x miles
Time taken by tortoise will be = 
=
hours
Time taken by hare to cover x miles and 5 hours nap = 
If time take by both the two creatures are same.
= 
-
= 5
= 5
= 5
3x = 100
x = 
x = 33.33 miles
The race would be 33.33 miles to be a tie.