Distance formula to prove right triangle example

given three points, use the distance formula and Pythagorean’s theorem to prove they form a right triangle.