Hello, and thank you for posting your answer!
I'm not sure if you can notice, but these are irrelevent triangles, or triangles that have three different side lengths.
The triangle on the right is 2 in smaller than the triangle on the left.
According to that, the answer is,
x = 9
(and if you need it, y = 6)
Hope this helps! ☺♥