The formula for the distance between two points (x1, y1) and (x2, y2) is given by the square root of the difference of the x values squared plus the difference of the y values squared. So, we have:
\[d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}\]
Show more…