Help.
Note that the sides of the larger figure are just (32/24) = (4/3) those of the respective sides of the smaller figure
Thus
6(4/3) = x - 1
24/3 = x - 1
8 = x - 1 add 1 to both sides
9 = x