as shown in figure. Consider the points only in x- y plane.