Use distance formula to prove right triangle example

//Use distance formula to prove right triangle example