Hope you have done Pythagoras in your maths classes. If not you might want to google it first and learn how it works. We teach ICT and CS here so no maths for you today. Anyway it's A^{2} + B^{2} = C^{2 }and all about right angled triangles.

^{2} + B^{2} = C^{2 }and all about right angled triangles.