consider two points p1(2