Question 908237
D = {{{sqrt ((x[1]-x[2])^2+(y[1]-y[2])^2))}}}
P1 (a,a) and 
P2 (0,0)  D = {{{sqrt(a^2 + a^2) = sqrt(2a^2) = a*sqrt(2)}}}