Answer:
approximately ≅ 22minutes that is 3:22:00pm
Step-by-step explanation:
The two boats are at the dock at 3pm and 4pm respectively; let’s write everything in terms of a common start time. Let 3pm be the time t = 0. At time t = 0, the first boat is at the dock and the second boat is at 15 km west of the dock.
At time t, the first boat has moved distance 20t (recall that distance is speed × time), so it is distance 20t from the dock. The second boat has moved distance 15t toward the dock, but it was originally distance 15 away from the dock, so it is now 15 − 15t away from the dock.
At time t, the distance between the two boats is then (by the Pythagorean Theorem)

We want to minimize this quantity.we therefore need to minimize;

To minimize, we note that f
¹
(t) = 1250t − 450, so f
¹(t) = 0 occurs only at the time t =
=
= 0.36. This is the critical number, and since
f
¹¹(t) = 1250 > 0, it is indeed a minimum.
So the boats are closest together at time t = 0.36, which is 0.36 hours (or 21.6 minutes) approximately 22minutes
after 3pm.
that is 3:22:00pm
Diagram attached to the question for interpretation