From the Pythagorean theorem, we have
Simplifying both sides gives
But we're talking about lengths, which can't be negative, so x = 2.
7.8m questions
10.5m answers