Using Math Notation to calculate the side of a right triangle