It is mentioned in the problem that the shape is a square, hence, we could say that all side's measurement is the same and it is equal. It can be written in a different arrangement of terms, but still, the value to be solved is the same. The sides can be written in the following forms: S1=6(3X+8)+32+12X S2=18X+48+32+12X S3=18X+80+12X S4=30X+80