The perimeter of the rectangle is 2(2x+5), and the perimeter of the triangle is x+7+x+4+x+11, which simplifies to 3x+22.
Therefore...
3x+22=4x+10
x=12
The perimeter of the rectangle is 2(2(12)+5)=2(24+5)=2(29)=48.
a. x=12
b. The perimeter of each figure is 48.