Figure 1: Geometry of the problem.