Distance between two points

$d=\sqrt{\left({x}_{1}-{x}_{2}{\right)}^{2}+\left({y}_{1}-{y}_{2}{\right)}^{2}}$