The bottom leg of the large triangle is 18. The bottom leg of the smaller triangle is 8. Since the triangles are similar, you can find x with a proportion.
The proportion would be 8/18.
You can do 8/18=x/18 to find x. The answer would be about 3.56 or 3.5 repeated.