A and B are fixed points, relative to each other. So the motion in question is A relative to the spaceship (let's call this S), not to B. So either S travels from A to B, then back to A; or A and B simultaneously move, relative to S, then retrace their motion. Either way, at the end of the...