If your team has this many women players, your team can have this many men players for this many total players
1 woman + 5 men + 1 goalkeeper (either) = 7 total players
2 women + 5 men + 1 goalkeeper (either) = 8 total players
3 women + 5 men + 1 goalkeeper (either) = 9 total players
4 women + 5 men + 1 goalkeeper (either) = 10 total players
5 women + 5 men + 1 goalkeeper (either) = 11 total players
If your team has this many male players, your team can have this many female players for this many total players
1 man + 10 women including goalkeeper (either) = 11 players
2 men + 9 women including goalkeeper (either) = 11 players
3 men + 8 women including goalkeeper (either) = 11 players
4 men + 7 women including goalkeeper (either) = 11 players
5 man + 6 women including goalkeeper (either) = 11 players