i have to find the value of x

Answer:
x = 10
Step-by-step explanation:
To find x, write a proportion between the side lengths for the similar triangles in the figure.
[tex]\frac{x+5}{x}=\frac{18}{12}[/tex]
To solve, cross multiply and isolate x.
(x+5)(12) = 18(x)
12x + 60 = 18x
60 = 6x
10 = x