<image>As shown in the figure, two pieces of iron wire of equal length can be used to form a regular pentagon and a regular hexagon respectively. The side length of the regular  pentagon is (x^{2} + 17) cm, and the side length of the regular hexagon is (x^{2} + 2x) cm (where x > 0). Find the total length of the two pieces of iron wire.