The question says “three axes along three of its edges”.
If we draw a diagram accordingly, A corresponds to the point (1,0,1) whose diagonally opposite point will be B (0,1,0).
You can choose any vertex as the origin and draw the axes, the answer would remain the same.