Ok it's probably really simple but it makes Zer0 sense to me, but I figured it'd make sense to someone here like Zer0. (See what I did there ). She also said to try to develop a method so if the number changed we wouldn't have to count them all again, etc.
Well that's just 9+8+7+...+1 Formula is (N-1)(N)/2 where N is the number of points Let's say you have 4 points A B C D Connect A to B,C, and D. That's 3 segments. Now connect B to every point that its not connected to already (C and D). Thats 2 segments. Then connect C to every point that its not connected to already (D). That's 1 segment. See how that works?