I've seen this problem on a website, and have been struggling with it for the past week. Here's the problem
http://www.cemc.uwaterloo.ca/resources/potw/2016-17/English/POTWD-16-MT-NA-23-P.pdf
I tried to solve this problem by listing down all the equations including the pro-numerals that I could think of (e.g. $\overline{NK}^2 + \overline{MN}^2 = \overline{KM}^2$) but there always seems to be more pro-numerals than equations. Can anyone help me?
(P.S. Although this is a Year 9-10 problem, I'm only in Year 7)



Let $x = \overline{AM}$ and $y = \overline {MD}$. You are given $x^2 + y^2 = 50$. The white rectangle has sidelengths $\sqrt 2 x$ and $\sqrt 2 y$ so the length of the diagonal is given by $c^2 = (\sqrt 2 x)^2 + (\sqrt 2 y)^2 = 2 (x^2 + y^2) = 100$.
Thus $\overline{KM} = 10$.