a ship is moving at a speed of 15 km/h parallel to a straight shoreline. the ship is 9 km from shore, and it passes a lighthouse at noon. (a) express the distance s (in km) between the lighthouse and the ship as a function of d, the distance the ship has traveled since noon; that is, find f so that s