Question 40
In the following figure, the largest square has area $1\ \mathrm{cm}^2$ and the middle square has area $M$. The area of the smallest square, which has a vertex on a side of the middle square, is $N$. What is the value of $N$ as a function of $M$?

