Portal Link Checker
Two Overworld portals that are close together can both come out of the same Nether portal. Type where both are to check.
Overworld portal A
Overworld portal B
Java Edition rules. Height matters a little too: when two Nether portals are both in reach, the game picks the nearest one, counting Y.
Result
--
Nether spot for A--
Nether spot for B--
Apart in the Nether, X--
Apart in the Nether, Z--
Needed to be safe17 blocks or more in X or Z