Identify the similar triangles them find the x

Answer:
ADB and ABC are similar
x = 8
Step-by-step explanation:
hypotenuse in ADB = [tex]\sqrt{4^2 + 2^2 } = \sqrt{20}[/tex]
since two triangles are similar,
[tex]\frac{2+x}{\sqrt{20} } = \frac{\sqrt{20}}{2}[/tex]
solving for x, x=8