Determining The Horizontal Distance