Find the missing segment in the attached image

Answer:
The length of the missing segment is 36
Step-by-step explanation:
Given
The figure above
Required
Determine the missing segment
Let the missing segment be represented with x
Given that, there exist parallel lines between the two triangles;
The relationship between the sides of the triangles is as follows;
[tex]\frac{20}{24} = \frac{30+20}{24+x}[/tex]
[tex]\frac{20}{24} = \frac{50}{24+x}[/tex]
Cross Multiply
[tex]20 * (24 + x) = 24 * 50[/tex]
[tex]20 * (24 + x) = 1200[/tex]
Divide both sides by 20
[tex]\frac{20 * (24 + x)}{20} = \frac{1200}{20}[/tex]
[tex](24 + x)= \frac{1200}{20}[/tex]
[tex]24 + x= 60[/tex]
Subtract 24 from both sides
[tex]24 - 24 + x = 60 - 24[/tex]
[tex]x = 60 - 24[/tex]
[tex]x = 36[/tex]
Hence, the length of the missing segment is 36