Respuesta :

use this formula:
distance=√((x-x)^2+(y-y)^2)