The perimeters of the square and the regular pentagon are equal. A square with side lengths of 3x + 3. A pentagon with side lengths of x + 8.