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
I think it’s c if not i’m sorry i got you incorrect but it just makes more since
Well first you have to figure out what you need to solve. then you write out the two equations and solve the system s from there