The sides of an equilateral triangle are reduced by 12 units, 13 units and 14 units respectively and a right-angle triangle is formed. Find the length of each side of the equilateral triangle?