Please help geometry

Answer:
x = -9
Step-by-step explanation:
Using tignometry:
let the acute angles be 'y'
therefore, (for the bigger triangle)
tan(y) = x+9/18
therefore, (for the smaller triangle)
tan(y) = 8/x+9
Now we know that:
(x+9)/18 = 8/(x+9)
(solving for x)
(x+9)^2 / 18*8 = 0
(x+9)^2 / 144 = 0
(x+9)^2 = 144 * 0
(x+9)^2 = 0
x + 9 = 0
x = -9
Mark as brainliest if helped! thanks!