The eighth letter to the password is matched with the answer to this problem.
Find the exact length of the diagonal of the rectangle above.