Question 443120
Set up a proportion:

x/40  = 30/60

60x = 1200
x = 20

20 km