A submarine cruises underwater at 20 km an hour and on the surface at 30 km an hour the submarine travels a distance of 600 km in 25 hours put on a graph