TeX source:
\begin{aligned} \text { distance } &=\sqrt{\left(x_{2}-x_{1}\right)^{2}+\left(y_{2}-y_{1}\right)^{2}} \\ &=\sqrt{(18-0)^{2}+(6-0)^{2}} \\ & \approx 18.974 \text { miles } \end{aligned}