the equilateral triangle and the rectangle have the same perimeter.
triangle: 2.5x + 10. rectangle: x +12 + 8x

what is the value of x?
what is the perimeter of the rectangle?