1000 m = 1 km
so that's one
5000 m = 5 km
so that's five
They have traveled 5 km so far.
5 more
Subtract what they traveled from total distance:
since 24 is how many kilometers they want to do, do that minus the meters they have traveled
24-5 = 19 km left.