I'm the diagram below abc-dec what is the value of x?

we know that
Triangles ABC and DEC are similar triangles
so
[tex] \frac{AB}{AC} =\frac{ED}{DC} [/tex]
substitute the values
[tex] \frac{42}{x} =\frac{6}{32-x} [/tex]
[tex] 42*(32-x)=6*x [/tex]
[tex] 7*(32-x)=x [/tex]
[tex] 224-7x=x [/tex]
[tex] 8x=224 [/tex]
[tex] x=28 [/tex]
therefore
the answer is
The value of x is equal to [tex] 28 [/tex]