3x + 22 is the equation that represents the perimeter of the triangle. 4x + 10 is the perimeter of the rectangle. Setting the two equal:
[tex]3x + 22 = 4x + 10[/tex]
and collecting like terms:
[tex]x=11[/tex]
We find that the perimeter of both shapes is equal to 11 units.