Two persons move on a rectangle