Let a submarine be at a constant depth of 5 km. It is headed in the direction of a lighthouse. If the distance between the submarine and the base of the lighthouse is decreasing at a rate of 24 km/h when the sub is 13 km away from the base, then what is the speed of the submarine