Hi Mikki1211,
When placing a tile and distributing the gold pieces, proceed in the following order:
1. Place (gold) tile
2. Place gold pieces
3. Place follower
4. Score
5. Award gold pieces
It is therefore possible to place both gold pieces on the road that you just finished, which allows the gold to be awarded immediately.
regards Halfling