Step-by-step explanation:
25 miles / 40 minutes is the reference speed.
speed is always expressed in distance/time.
for different distances the ratio of rate between distance and time must be the same, if the speed is truly the same.
so,
25 miles / 40 minutes = 40 miles / x minutes
x minutes × 25 miles = 40 minutes × 40 miles
x minutes = 40 minutes × 40 miles / 25 miles =
= 40 minutes × 8/5 = 8×8 = 64 minutes
the ostrich will need 64 minutes for 40 miles.