Assuming the two starting at the same time from the same point ( Origin)
First one has coordinates as (20,-24) Each one in Km
and the second one has position as ( 32, -7)
Now find the distance between two points
= Sqrt( ( X1-X2)2 +( Y1 -y2) 2 )