Finding a point on a number line given the length of a segment and another point