Suppose that the complete graph $K_n$ with $n$ vertices is drawn in the plane so that the vertices of $K_n$ form a convex $n$-gon, each edge is a straight line, and no three edges cross at a point. Let $f(n)$ be the number of regions that this drawing divides the plane into. For example, the following picture shows that $f(4)=5,$ as the drawing divides the plane into five regions
Find, with proof, a closed-form formula for $f(n)$.
Euler's formula is most likely useful in this question if I could guess, but it only applies to planar graphs: $$\text{#of vertices}+\text{#of faces}=\text{#of edges}+2$$

Here's an explanation of what I mean:
Consider the figure before the red diagonals have been added. The interior of the polygon has been divided into $5$ regions: $4$ in the interior of the quadrilateral $ABCD$ and the triangle $ADE$. How many regions are added when we draw diagonal EB? The diagonal is divided into $3$ segments by its intersections with the black diagonals. Each of these segments divides a pre-existing region in two, so it adds $3$ regions. The same can be said for diagonal EC, so $6$ regions are added, making $11$ regions. Then the unbounded region makes $12$.
Now, how can we know how into many segments diagonal EB is divided without drawing a picture? Well, it's one more than the number of diagonals it intersects? $EB$ intersects two diagonals because there is one vertex ($A$) on one side of it, and two vertices ($C,D$) on the other side. Each vertex on one side is joined by a diagonal to each vertex on the other side.
Now, try to generalize this argument.