123456
distancex=((point3-point1)*(point3-point1)) distancey=((point4-point2)*(point4-point2)) final =sqrt(distancey + distancex);