The solution can be obtained as follows:
We are given the speed of the ship as 20 km/h
Time taken by ship to travel is 4h.
We will apply speed distance formula here given by:

So here we will plug in the given values to find the distance covered by the ship:

Distance = 80 km
Answer: The distance traveled by the ship is 80 km.