The perimeter of an equivalent triangle is 15 inches. A side of the triangle is x-2. What is the length of each side of the triangle