This can be done using the combination formula, which is given by $C(n, k) = \frac{n!}{k!(n-k)!}$, where $n$ is the total number of groups and $k$ is the number of groups we are choosing at a time. In this case, we have 4 groups and we are choosing 2 at a time.
Show more…