Your friend's house is 5 miles south and 12 miles west of the zoo. How far is your friend's house from the zoo?
The distance is just the hypotenuse of a right triangle with legs of 5 and 12....so...
distance = sqrt [5^2 + 12^2] = sqrt [169 ] = 13 miles