Respuesta :

tonb
You can always draw a right-angled triangle where the sloped side c is the line between the two points of interest, and a and b are the sizes of the horizontal and vertical lines.

Then apply c = √(a²+b²)