Answer: 66
==============================================
Step-by-step explanation:
The formula to use is n*(n-1)/2
Plug in n = 12 to get 12*(12-1)/2 = 12*11/2 = 132/2 = 66
That formula is from the nCr combination formula when r = 2.
---------------------
Here's a visual way to see why that rule works.
Imagine there are only 4 teams. We'll make a table that has 4 rows and 4 columns. The team names are A,B,C,D.

In the table, cross out the cells where one team pairs up with itself. That's along the main diagonal pointing to the northwest (or southeast).

Let's also cross out any cell below the main diagonal.

We do this because a mirrored copy is found above the diagonal.
We started with 4*4 = 16 cells. Then subtracted off the diagonal to get 16-4 = 12 cells left over. Then divide in half because we crossed off the lower half to get 12/2 = 6 different matchups among the 4 teams.
Those 6 matchups are:
- A vs B
- A vs C
- A vs D
- B vs C
- B vs D
- C vs D
The order doesn't matter. A matchup like "A vs B" is the same as "B vs A".
We'll take this concept to extend it to n teams. We have n*n = n^2 cells to start with. Subtract off the n cells along the diagonal to get n^2-n = n(n-1) cells remaining.
Then we split that in half to get the formula n(n-1)/2.