Answer:
4.6 km
Step-by-step explanation:
-This is a Pythagorean Theorem problem where the distances walked are effectively the base and height of the imaginary right triangle thereof.
#Apply Pythagorean theorem to solve:
[tex]b^2+h^2=H^2\\\\2^2+x^2=5^2\\\\x^2=5^2-2^2=21\\\\x=\sqrt{21}\\\\x=4.58\ km[/tex]
[tex]\approx 4.6\ km[/tex]
Hence, the distance x is 4.6 km