Theorem. If a polygon is drawn with all diagonals, it is given by the formula D=n(n-3)/2