Answer: The required value of x is 10 and the perimeter is 28.
Step-by-step explanation: Given that the square and the triangle have equal perimeters.
We are to find the value of x and the perimeter.
From the given figure, we note that
length of a side of the square, a = x-3
and the lengths of the sides of the triangle are x, x and 8.
According to the given information, we get

Also, the perimeter of the square and the triangle is

Thus, the required value of x is 10 and the perimeter is 28.