Sometimes two identical pieces can reach the same square, and "Nd2" would not say which knight moved. Then you add one more character straight after the piece letter, a step called disambiguation:
- Add the starting file if that is enough. With knights on b1 and f3 both able to reach d2, write Nbd2 or Nfd2. With rooks on a1 and f1, write Rad1 or Rfd1.
- If both pieces are on the same file, add the starting rank instead. With rooks on e1 and e5, both able to reach e3, write R1e3 or R5e3.
- Very rarely (usually with three queens on the board after promotions) you need both, such as Qh4e1.
Add the extra character only when it is needed. In Exercise 7, Black's rooks stand on a8 and a5, but only the a5 rook can reach a1 (the other is blocked), so the correct move is plain Rxa1+. A move to a6 would need the rank, R5a6, because both rooks could get there.
Disambiguation is not just tidiness. In Example 3, Nbxc5 wins a bishop, while Ndxc5 removes the knight that guards e1 and allows checkmate. When you read the move, the extra letter tells you which piece to move; when you write it, it proves to yourself that you checked which piece you meant.