A composite figure is formed by combining a square and a triangle. Its total area is 60.5 ft2. The area of the triangle is 35.5 ft2. What is the length of each side of the square? Complete the explanation.