Have a look at this circle with 6 points:
Here the lines between the 6 points on the circle intersect 15 times.
Given n points on a circle with all connecting lines - how many intersections will there be (maximal, or without an 'degenerate' cases)?
Giving up? You can find the solution here.