A rectangle and an equilateral triangle have the same perimeter. The perimeter of the rectangle is 6 ( 1 2 x + 5 ) inches. The perimeter of the triangle is 4 ( x − 2 ) inches. What is the perimeter of each figure?