[Membership 2] Expire when the first one

We would like to know if we can implement this requirement in any way.

We have a main paid membership. When the user buys it, he gets the chance to see and subscribe to other free and unlimited memberships.

We would like that when the first paid membership expires, the other memberships (possibly subscribed by the user) will also expire.

Thank you