Does it matter which coordinate is (x1,y1) when applying the distance formula?