Solve for x
qwertyuiopasdfghjklzcvbnm

The triangles ABD, ADC and ABC are similar (AA stands for "angle, angle" and means that the triangles have two of their angles equal).
If two triangles have two of their angles equal, the triangles are similar.
Therefore the sides of triangles are in proportion.
[tex]\dfrac{c}{6}=\dfrac{2}{c}[/tex]
cross multiply
[tex]c\cdot c=6\cdot2\\\\c^2=12\to c=\sqrt{12}[/tex]
Use the Pythagorean theorem for calculate x:
[tex]x^2=2^2+(\sqrt{12})^2\\\\x^2=4+12\\\\x^2=16\to x=\sqrt{16}\to\boxed{x=4}[/tex]