結果 : how to calculate distance between two points on a cartesian plane