Question:
Find the distance between the points $\left(-\frac{8}{5}, 2\right)$ and $\left(\frac{2}{5}, 2\right)$
Solution:
We have to find the distance between $\mathrm{A}\left(-\frac{8}{5}, 2\right)$ and $\mathrm{B}\left(\frac{2}{5}, 2\right)$.
In general, the distance between $\mathrm{A}\left(x_{1}, y_{1}\right)$ and $\mathrm{B}\left(x_{2}, y_{2}\right)$ is given by,
$\mathrm{AB}=\sqrt{\left(x_{2}-x_{1}\right)^{2}+\left(y_{2}-y_{1}\right)^{2}}$
So,
$A B=\sqrt{\left(\frac{2}{5}+\frac{8}{5}\right)^{2}+(2-2)^{2}}$
$=\sqrt{4}$
$=2$