A boat leaves a dock at 2:00 PM and travels due south at a speed of 20 km/h

A boat leaves a dock at 2:00 PM and travels due south at a speed of 20 km/h. Another boat has been heading due east at 15 km/h and reaches the same dock at 3:00 PM .

At what time were the two boats closest together?