Finding the endpoint of a line segment