Hello!
It appears that this is creating a triangle. It gives us leg lengths of 3 and 5. If we assume that this is a right triangle, we can use the Pythagorean Theorem. We add up the square of each of our numbers. Then we find the square root of our answer. Basically, a²+b²=c².
25+9=34
√34≈5.83
Therefore, the eagle is about 5.83 miles from its nest.
I hope this helps!