Justify that the determinant has a maximum on $\mathcal{X}_n$ (denoted $x_n$) and a maximum on $\mathcal{Y}_n$ (denoted $y_n$).