Adjust the positions of two figures.