You don't "link" them—they are the same account.
Each person gets their own Microsoft Account → their own gamertag, saves, achievements, Game Pass access. Add via: Settings → Account → Family settings → Add new.
These are subscriptions attached to your Microsoft Account, not separate accounts. Buy on any device; applies everywhere you sign in.
Still stuck? Contact Xbox Support with your gamertag and email ready.