The figure above are nested successive regular polygons. We start with an equilateral triangle, then a square, then a regular pentagon. If the length of the side of the triangle is 1 cm, what is the length of the side of the square? What is the length of the side of the regular pentagon? (image courtesy of Wolfram Alpha)