As we know there are limited options to share records between community users.
For Customer Community , we can use Sharing set or Sharing Group.
For Customer Community Plus & Partner Community we can use role & Sharing rule. Maximum role that community can have is 3 per account and thats limitation there as well.
Now , lets assume below scenario