Since the side length of 15ft is opposite the right angle, then this side length of 15ft is the hypotenuse of the triangle.
The other sides are considered the legs of the triangle. Therefore, the side length of 6ft is one of the legs of the triangle.