A right-angled triangle has one square corner — a right angle. The two sides meeting at that corner are the legs; the longest side, opposite the right angle, is the hypotenuse.
Pythagoras' theorem says that if you build a square on each side, the two smaller squares together cover exactly the same area as the big one:
For example, a triangle with legs