Let us denote the events in spacetime before the trip has started by subscript 1 and those after the trip is over by subscript 2. So before the trip has begun, the coordinates in spacetime for A and B are
##A = (t_{A_1},x,y,z)## and ##B = (t_{B_1},x,y,z) = (t_{A_1},x,y,z)##.
After the trip is...