Let the two points be (a,b) and (c,d).
Then the distance between D= sqrt [ (a-c)^2 + (b-d)^2] where ^2 means squared.
Chat with our AI personalities
By using Pythagoras' theorem.
By plugging in values... d=[(X2-X1)^2+(Y2-Y1)^2]^(1/2)
The distance between them is the absolute value of the difference in their vertical coordinates.
The distance between the opposite vertices is the same.
The answer is the x coordinate of the point.