The two legs form a right angle.
The hypotenuse is the longest side of the right-angled triangle.
The legs must not be the same length.
The hypothenuse of a triangle is always the side opposite the right angle.