The distance from a point (x,y) to (-1,2) is ( x + 1 ) 2 + ( y − 2 ) 2 {\displaystyle {\sqrt {(x+1)^{2}+(y-2)^{2}}}} .