13.167. A motorboat and a sailboat, being 30 km apart on a lake, move towards each other and meet after 1 hour. If the motorboat were 20 km behind the sailboat and was catching up to it, it would take 3 hours and 20 minutes. Determine the speeds of the boat and the sailboat, assuming they are constant and unchanged in both cases.