Distance between two points (a, b) and (c, d) = \(\sqrt{(d - b)^{2} + (c - a)^{2}}
Distance between (2, 5) and (5, 9) = √(9−5)2+(5−2)2
= √16+9=√25=5units