In square , points and lie on and , respectively. Segments and intersect at right angles at , with and . What is the area of the square?

In square , points and lie on and , respectively. Segments and intersect at right angles at , with and . What is the area of the square?

Pick one
Because is complementary to both and , those two angles are congruent. Therefore by ASA, so . Let ; then , so the Altitude-to-Hypotenuse Theorem yields , which has solutions and . Because , in fact . It follows that the area of the square is
Let and . Because is similar to , it follows that , so . As before, , so by the Pythagorean Theorem, . Then , so . Similarly , so . Solving this system of equations yields , and the area of the square is .