Find the missing segment in the image below

Answer:
42
Step-by-step explanation:
similar triangles
24/x = (24+8)/x+14
that looks complicated so we do
8/24 = 14/x
or
24/8 = x/14
3 = x/14
x = 3*14
x = 42
we test it with the first equation
24/42 = 32/56
simplify
4/7 = 4/7
true so 42 is correct