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