A total of 4 squares each have side length . A total of 5 equilateral triangles each have side length . The sum of the perimeters of all these squares and triangles is 188. If the side length of each square, , is twice the side length of each triangle, , what is the value of ?