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\sqrt{(9-5)^2 + (5-2)^2}(9−5)2+(5−2)2
= 16+9=25=5 units\sqrt{16+9} = \sqrt{25} = 5\text{ units}16+9=25=5 units