Answer:
3 hours
Explanation:
When the ships meet each other, that means the the distance travelled for both ships are the same, that is where the 2nd ship will overtake the ship.
Distance = Speed * Time
So, given information from the question, and letting x be the time in hours (from when the 1st ship departs), we can deduce:
Distance travelled of 1st ship = Distance travelled of 2nd ship
30x = 40(x-1)
30x = 40x - 40
-10x = - 40
x =
= 4
Since we are calculating based on the 2nd ship,
Time taken for 2nd ship to overtake first ship = x - 1 = 4 - 1 = 3 hours.