There are 2 points where A can be located in a number line.
The first case is that A is further ahead than B, and the second case is that A is further back than B:
For case 1:
[tex]\begin{gathered} A-B=14 \\ A-7=14 \\ A=14+7 \\ A=21 \end{gathered}[/tex]For case 2:
[tex]\begin{gathered} B-A=14 \\ 7-A=14 \\ 7-14=A \\ -7=A \end{gathered}[/tex]The 2 possible points for A are -7 and 21