In order to know the distance between two points we have to perform the Pythagorean Theorem which is:
Where a and b are the legs of the triangle and c is the hypotenuse (the longest side). Take note that this theorem only works on right triangles. We use this theorem since the distance between two points is the altitude of the hypotenuse.
Since we are given two points we let the coordinates be as follows:
The Pythagorean Theorem in the Cartesian plane is :
Without loss of Generality (WLOG) we let the leg a's altitude be the horizontal length and leg b's be the vertical length. Substituting the values we get:
The altitude of c would be the square root of 100 which is either positive 10 or negative 10 so since the distance between two points can never be negative their distance is 10.