First, find the ratio between the two polygons. Lets take segment MG and TV since they are congruent. MG is 4, TV is 3. The ratio of MG to TV is 4:3. We can write it as 4/3. Since other arts are congruent as well, then NK is congruent to PR, and has a ratio of 4:3. This means that (3x-2)/(x+4) is equal to 4/3. Now solve for x
(3x-2)/(x+4)=4/3
3(3x-2)=4(x+4) ---cross multiply
9x-6=4x+16
9x-4x-6=4x-4x+16 ---subtract 4x from both sides
5x-6=16
5x-6+6=16+6 ---add 6 on both sides
5x=22
5x/5=22/5 ---divide 5 on both sides
x=22/5