Let's consider the information at hand:
- the triangle is a 45-45-90 triangle
⇒ has some special property about its side length
⇒ look at the diagram I attached
Using the same ratios of side length as seen in the diagram:
⇒ we get the equation:
Thus x = 6.
Answer: x = 6
Hope that helps!