This depends on their relative positions and the relative positions of the portals in the nether.

Basically, for every 1 block away a portal is in the nether from another one, you will need to move the corresponding portal in the overworld 8 blocks away, though it can often be a bit more complicated in practice.