Given that the perimeter of the figure below is 26, solve for x.

x =

2 (3x + 7) + 2 (2x – 4) = 26

6x + 14 + 4x – 8 = 26

10x + 6 = 26

10x = 20

x = 2