Answer:
x = 8, perimeter of triangle = 22 units
Explanation:
the perimeter is the sum of the sides of the triangle , that is
x + x + 2 + x - 4 ( collect like terms)
= 3x - 2
the perimeter of a rectangle is calculated as
2 ( length + breadth )
= 2(x + 3) ← distribute parenthesis by 2
= 2x + 6
equate the 2 expressions for perimeter
3x - 2 = 2x + 6 ( subtract 2x from both sides )
3x - 2x - 2 = 2x - 2x + 6 ( simplify both sides )
x - 2 = 6 ( add 2 to both sides )
x - 2 + 2 = 6 + 2 ( simplify both sides )
x = 8
The perimeter of triangle is then
= 3x - 2
= 3(8) - 2
24 - 2
= 22 units