Answer:
42km
Step-by-step explanation:
using pythagoras formula
a^2+b^2=c^2
40^2+b^2=58^2
b^2=3364-1600
b=[tex]\sqrt{1764}[/tex]
b=42 km