where s is the distance between point z and point .

This is all lower case. Can you fix that?
where s is the distance between point Z and point .