The boat at t = 0 is at (Use Pythagorean theorem on an isosceles triangle). The way of the boat is described by:
Now calculate the distance betwee the yacht and the boat:
If has a minimum then has a minimum too. Calculate the first derivation of and solve the equation
for t. I've got
Plug in this value into the equation of the distance to answer your question.