The figure is a square shape, hence we can say that all sides have the same length and measurement. Since the length of one side of the square is given, we can also know the other side which is equivalent to this, it may be written in a different arrangement of terms but it should the same value. Other three sides are the following:
s1=6(3X+8)+32+12X
S2=18X+48+32+12X
S3=18X+80+12X
S4=30X+80