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.7m questions
10.3m answers