Hi John,
In your first example, the first attacking group of 6 would fight the defending group of 6, and then the second attacking group of 6 would fight the defending group of 6. The defender basically has to fight both of the attacking groups separately.
In the second example; In group combat it does not matter if the groups are even in numbers. You need to think of the units that are part of the group as a whole unit. If any unit in a group contacts another unit or group, the whole group is considered in contact. So you add up all support and add it to the primary fighter and then add or subtract modifiers. Hope this helps. If you need any further clarification, feel free to ask 