Find the value of x. In a triangle, a rectangle segment scenario. Not able to figure out the equation when we have 2 adjacent sides.

x = 3
From the given diagram, the two sides indicated are equal in length that is:
[tex]5x-3=10x-18[/tex]Simplify for the value of "x"
[tex]\begin{gathered} 5x-10x=-18+3 \\ -5x=-15 \\ x=\frac{15}{5} \\ x=3 \end{gathered}[/tex]Hence the value of x from the figure is 3