side of the triangle = 12 inches
side of the square = 8 inches
12 is 4 more than 8
perimeter of the square = 4(8) =32 inches
perimeter of the triangle = 3(12) = 36 inches
36 is 4 more than 32
Let T= side of the triangle and S = side of the square
3T = 4S+4
T=S+4
3(S+4) = 4S+4
3S+12 = 4S +4
4S-3S = S = 12-4 = 8
T =8+4 = 12