What is the value of X?

the assumption here is that both triangles are similar, if that's so, then we can use proportions to get the sides.
[tex]\stackrel{\textit{assuming both triangles are similar}}{\cfrac{x}{10}=\cfrac{15}{6x}\implies \cfrac{x}{10}=\cfrac{5}{2x}}\implies 2x^2=50 \\\\\\ x^2=\cfrac{50}{2}\implies x^2=25\implies x=\sqrt{25}\implies \boxed{x=5}[/tex]