Consider a right-angled triangle. You should know the Pythagorean theorem: Pythagorean theorem: a2 + b2 = c2
You should also have no trouble remembering SOHCAHTOA: