A ship sails 20km due north and then 35km due east. How far is the ship from it's starting point ?
The 20km and 35 km LEGS form a right triangle with the distance to starting point being the hypotenuse
20^2 + 35^2 = d ^2 d = 40.31 km from starting point.
at a 29.74 degree angle from the start point.