Metric relations on a right triangle