The diagram shows a rectangle and a triangle.
The perimeter of the rectangle is equal to the perimeter of the triangle.
Find the value of xxx.