Answer:
1 hour
Step-by-step explanation:
Speed of the first boat = 30 mph
Speed of the second = 40 mph
The boats will cover different distances but the time taken will be the same.
Time taken by the boats = t
Distance = Speed × Time
Distance covered by the first boat = 30t
Distance covered by the second boat = 40t
Distance between the boats = 50 mi
From the Pythagoras theorem

Time taken by the boats when they are 50 mi away is 1 hour