distance formula and endpoints of a right triangle

welcome to shbcf.ru