Determine The Horizontal Distance