How do you solve for $x$ for this triangle?

The $1$m square is enclosed by the triangle, which is not a side length of the triangle - that's why I'm having trouble.
How do you solve for $x$ for this triangle?

The $1$m square is enclosed by the triangle, which is not a side length of the triangle - that's why I'm having trouble.
Use the fact that you have two congruent triangles, so the proportion between the sides should be identical $\frac{\sqrt{(x-1)^2+1^2}}{x-1}=\frac{10}{x}$. Solving the equation can be done with a calculator or computer.
If the yellow rectangle is not a square, then his side =1 means nothing (except that the base is larger than 1), and there is no single solution.
Otherwise, you have 3 triangles with the same proportions, and you know 1 side of each triangle (1 with base=1, 1 with height=1, and 1 triangle with diagonal=10)
Dr. Sonnhard Graubner gave you the answer when y is the base of the smallest triangle.