The area of the squares on the legs in the small triangle in the first diagram is equal to the length of the side times the length of the side, or the length of a side squared. The area of the tr…