Consider two points A and B