What is the value of x?

Answer:
5 units (you are right!)
Step-by-step explanation:
The triangles ABD and BCD are similar.
Therefore,
[tex]\frac{x}{10}=\frac{10}{4x} \\4x^{2}=100\\x^{2}=25\\x=5[/tex]
I hope this helped!