Answer:

Explanation:
I and my friend are forming a right-angled triangle where one side is 6 miles and the other side is 3 miles, with my friend's route going west and north.
I am taking the hypotenuse, which is the direct path between the two points.
Using the Pythagorean theorem, which states that in a right triangle, the square of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the other two sides:

Where:
- c is the direct distance you hike.
- a is the distance your friend hiked west (6 miles).
- b is the distance your friend hiked north (3 miles).
Plugging in these values:

Taking the square root of both sides to find c:

