A side of a square is 10 m longer than the side of an equilateral triangle the perimeter of the square is three times the perimeter of a triangle find the length of each side of the triangle