I know there is a solution here: Combinatorics question involving recurrence relations and n-gon
I am having trouble understanding it though.
Find a recurrence relation for the number of ways to divide an $n$-gon into triangles with non-crossing diagonals.
I know that when $n=4$, there are $2$ ways to do this.
When $n=5$, I found there are $8$ ways of doing this.
So far for $n=6$, I have $10$ ways of doing this.
I am stuck on finding the recurrence relation.

If we choose one vertex against one side, reminders are $n-i-1$ and $i-1$ polygons. From this, we get asked recurrence.