Derive the distance between two points and the bearing from point(1) to point(2) using their coordinates
point(1)
point(2)