AMS 2 Pro - Two Units with H2D

Hi,
this is still not clear for me. And I what to extend the topic a little bit.

I plan to buy a H2D and I want to use 2 AMS on each nozzle (hotend). - Also 4 AMS in total (see symbol photo)

Nozzle 1: AMS 2 pro + AMS
Nozzle 2: 2x AMS

Is this possible?
Do I then need 2x “Bambu Lab AMS Hub” (one for each nozzle) or?

As ther is only 1 6-pin connection on the printer, how does the printer then know which 2 AMS is connected on nozzle 1 and which 2 AMS are connected on nozzle 2?

BR Martin