Two lines, parallel to the bases of a trapezoid divide each leg into three congruent parts and divide the trapezoid into three parts as well. Find the area of the middle part if the top and bottom parts have area S1 and S3.