Exercise 3. Consider an $n$-gon inscribed in a circle, and assume that any three diagonals of the $n$-gon never intersect. All vertices of the $n$-gon are connected. How many triangles are there in the figure that have no vertices in common with the $n$-gon?