TeX source:
d\left(P_1 \mid P_2\right) = \sqrt{(21-7)^2+(22-5)^2} = \sqrt{485} \approx 22{,}02