How am I suppose to calculate a angle between two points , did you mean distance ?

Because the only way I can figure out for calculation is about distance:

Z^2 = x^2+y^2;
where z - is the beginning of the coordinate system t.O[0,0]