First find the perimeter of rectangle.
\ \The perimeter P of a rectangle is given by the formula, 
Where L is the length and is W is the width of the rectangle. 
The perimeter P of a rectangle is
\
(Substitute
)
(Apply distributive property:
)
(Multiply:
)
(Apply commutative property of addition:
)
(Apply distributive property:
)
(Add:
)
Next find the perimeter of square.
\The perimeterP of a square is given by the formula, 
Wheres s is side length of the square.
\The perimeter P of a square is
\
(Substitute
)
(Multiply:
)
Write an equation that represents the situation.
\
So, 
Substitute
, 

(Subtract 8x from each side)
(Apply commutative property of addition:
)
(Apply additive inverse property:
)
(Apply additive identity property:
)
(Subtract:
)
(Divide each side by 4)
(Cancel common terms)
(Divide:
)
Check:
\To check the solution, substitute
in equations.


Compare the values, the equation is true.
Dimension of rectangle:
\Length of the rectangle, 
Width of the rectangle, 
Dimension of square:
\Each side length of the square, 
Length of the rectangle, 
Width of the rectangle, 
Each side length of the square,
.