Right triangle properties and calculations