結果 : derive the formula to find distance between two points in 3d