The horizontal distance is the difference of x-coordinates: 6 - 4 = 2.
The vertical distance is the difference of y-coordinates: -1 - (-2) = 1.
The straight-line distance (d) can be found using the Pythagorean theorem, since the vertical and horizontal distances are at right angles to each other.