math
posted by vincent on .
The length of a rectangle is three times the length of a side of a square and the width of the rectangle is two less than the side of the square. If the perimeter of the rectangle is twenty eight more than the perimeter of the square, find the length of a side of the square. [ Only an algebraic solution will be accepted ]

If the width is x and the length is y, and the side of the square is s,
y = 3s
x = s2
2(x+y) = 4s+24
s = ?