FIBA is different - and easier.
If A4 is shooting free throws, B4 & B5 can occupy the bottom 2 spots, the next two can be filled by A5 & A6 and B6 can occupy one of the two top spots.
There is no requirement for the spots to be filled, and if anyone leaves a spot vacant the other team cannot fill the spot.
Much easier to administer hey?