The perimeter of a rectangle is given by:
P = 2w + 2h
Where:
w = width = 2x
h = height = x
P = 18
Replacing the data into the equation:
18 = 2(2x) + 2(x)
18 = 4x + 2x
18 = 6x
Solving for x:
x = 18/6
x= 3
Therefore:
w = 2(3) = 6m
h = 3m
---------------------------------------------------------------------------------
P = x + 2x + (x + 3)
23 = 3x + x + 3
23 = 4x + 3
Solving for x:
23 - 3 = 4x
20 = 4x
20/4 = x
5 = x
Therefore its sides are:
x = 5 ft
2x = 2(5) = 10ft
x + 3 = 5 + 3 = 8ft