Suppose t hours pass before you reach the ship. Then the meeting point is 8t miles west of the ship, so it is 1 + 8t miles west and 1 mile north of you. Also, you have traveled 16t miles. You can use the Pythagoras theorem to write a quadratic equation for t.