What is the value of x

ANSWER
x=27
EXPLANATION
The two triangles are similar so the corresponding sides are equal.
[tex] \frac{x}{x +1 8} = \frac{39}{39 + 26} [/tex]
[tex]\frac{x}{x +1 8} = \frac{39}{65} [/tex]
Cross multiply to get;
[tex]65x = 39(x + 18)[/tex]
Expand:
65x=39x+702
Group similar terms:
65x-39x=702
Simplify
26x=102
Divide both sides by 26,
x=702/26
x=27