the two triangles are similar. find x showing the proportion and all work.

We need to write a proportion.
6/2 = (x+2)/x
3 = x² +2x
x² + 2x - 3 =0
(x + 3)(x - 1) = 0
x= -3, x= 1
Because we need to find length x, a length cannot be negative.
So, x = 1.