To find the value of \( x \), we first need to express the perimeter of each figure.
-
Perimeter of the square: The perimeter \( P \) of a square with side length \( s \) is given by the formula: \[ P = 4s \] In this case, the side length of the square is \( x + 5 \): \[ P_{square} = 4(x + 5) = 4x + 20 \]
-
Perimeter of the hexagon: The perimeter \( P \) of a regular hexagon with side length \( s \) is given by the formula: \[ P = 6s \] Here, the side length of the hexagon is \( x - 1 \): \[ P_{hexagon} = 6(x - 1) = 6x - 6 \]
-
Setting the perimeters equal: Since the two figures have the same perimeter, we can set their perimeters equal to each other: \[ 4x + 20 = 6x - 6 \]
-
Solving for \( x \): Rearranging the equation, we first subtract \( 4x \) from both sides: \[ 20 = 2x - 6 \] Next, add \( 6 \) to both sides: \[ 26 = 2x \] Divide both sides by \( 2 \): \[ x = 13 \]
Thus, the value of \( x \) is \( 13 \).