Answer:
24 min
Explanation:
Time is proportional to distance at constant speed, so it will take 18/45 = 2/5 of an hour. That's 2/5 of 60 minutes, or 24 minutes.
__
The time required is ...
time = distance / speed
time = (18 mi)/((45 mi)/(60 min)) = (18×60/45) min = 24 min
It would take 24 minutes.