Answer:
Square is 2 X 2.
Rectangle is 1 X 4
Explanation:
S is the length of side of the square
L is the length of the rectangle
W is the width of the rectangle
L = S + 2 : we are told length of rectangle is 2 more than side of square
W = S - 1 : we are told width of square is 1 more than width of rectangle
S^2 = LW : we are told the areas of the square and the rectangle are equal
S^2 = LW : replace L with "S + 2" and W with "S - 1" from first two equations
S^2 = (S + 2) * (S - 1) : multiple right side terms
S^2 = S^2 + S - 2 : subtract S^2 from both sides
0 = S - 2 : add 2 to each side
2 = S : length of square's side
Substitute S into first two equations:
L = 2 + 2 = 4
W = 2 - 1 = 1