A square has the area of 25 square inches. What is that perimeter of a triangle with all equal sides if each of its sides is twice as long as the side of the square?