One and three

Two motorboats travelling up and down a lake at constant speeds leave opposite ends A and B at the same instant, passing each other, for the first time 600 metres from A, and on their return, 400 metres from B. How long is the lake?
Exploring and noticing Working systematically Conjecturing and generalising Visualising and representing Reasoning, convincing and proving
Being curious Being resourceful Being resilient Being collaborative

Problem

Two motorboats are travelling up and down a lake at constant speeds and turning at each end without slowing down. They leave opposite ends A and B at the same instant, passing each other, for the first time 600 metres from A and, for the second time, 400 metres from B.

How long is the lake (the distance from A to B) and what is the ratio of the speeds of the boats?