4

$${(\Delta s_{12})^2 = (\Delta x_1)^2 + (\Delta x_2)^2 + (\Delta x_3)^2 + (\Delta x_4)^2}$$