Note: not a duplicate of this question as I'd like to know what's wrong with my approach.
My attempt: Choose any 3 of the $n$ vertices of the polygon, and let the number of points between the three be $x$,$y$ and $z$. Then, $x+y+z=n-3$ and $x, y, z\ge 1$. The number of possible solutions is a sticks-and-stars problem, and can be shown to be $n-4 \choose 2$. From the top answer to the question linked above though, the correct answer is $\binom{n}{3}-(n-4)n-n$.
Putting in some values for $n$, I can see that I'm undercounting. How?