What are the different methods to calculate the distance between two points on a coordinate plane?