how does the ratios of the sides relate to the theorems mentioned​