Am I working this problem correctly?

Two boats leave a dock at the same time. One boat is headed directly east at a constant speed of 35 knots(nautical miles per hour) and the other is headed directly south at a constand speed of 22 knots. Express the distance d between the boats as a funtion of the time t.

(35,0)(0,22)

f(t)=sqrt(35^2 + 22^2)

=sqrt(1709)

=41.34

Is that right?