Two boats are racing with constant speed toward a finish marker, boat A sailing from the south at 13mph and boat B approaching from the east. When equidistant from the marker the boats are 16 miles apart and the distance between them is decreasing at the rate mph. which boat will win the race.

I'm lost at this problem so any help will be much appreciated