If the friend walked 5 miles east and then 2 miles south, his position in the coordinate plane is (3+5, 3-2) = (8, 1).
If you walked 6 miles west and 1 mile north, your position in the coordinate plane is (3-6, 3+1) = (-3, 4).
Let's calculate the distance from each point to the starting point, using the formula below for the distance between two points (x1, y1) and (x2, y2):
For points (3, 3) and (8, 1), we have:
Now, for points (3, 3) and (-3, 4), we have:
The distance 2 (your distance) is greater than the distance 1 (friend's distance).
Therefore you are directly farther from the starting point, with a distance of √37 miles (Option D).