The value of x is what the answer

Answer: x = 20
because 2 triangles are similar
=> [tex]\frac{2x-4}{24}=\frac{42}{x+8}[/tex]
⇔ (2x - 4)(x + 8) = 24.42
⇔ 2x² + 12x - 32 = 1008
⇔ 2x² + 12x - 1040 = 0
⇔ 2(x - 20)(x + 26) = 0
because x > 0
=> x = 20
Step-by-step explanation: