a square and a equilateral triangle have the same perimeter the perimeter of the triangles is 12(z-2)cm.the perimeter of the square is 4x cm find the perimeter of each figure by writing and solving an equation for the variable of x. what is the value of x​