An electron is confined to move in the xy plane in a rectangle whose dimensions are Lx and Ly. That is, the electron is trapped in a two-dimensional potential well having lengths of Lx and Ly. In this situation, the allowed energies of the electron depend on two quantum numbers nx and ny and are given by