Inside a square with side length 10, two congruent equilateral triangles are drawn such that they share one side and each has one vertex on a vertex of the square. What is the side length of the largest square that can be inscribed in the space inside the square and outside of the triangles?