Rephrasing your question:
If a regular convex polygon is divided into $n-2$ triangles with diagonals, what is the maximum number of acute triangles you can have?
Solution:
If one wants to divide a regular convex polygon into $n-2$ triangles, one needs $n-3$ non-intersecting diagonals.
Proof:
Firstly, the $n-2$ triangles must be non-intersecting and their angles must contribute to the angles of the polygon only because the sum of interior angles of a triangle is $180^\circ$ and that of a regular convex polygon is $180^\circ(n-2)$, unlike
The triangulating diagonals must not intersect inside the polygon. If they do, the triangles don't follow the above statement.
Secondly, the $n-2$ triangles have $3(n-2)$ sides of which $n$ are the sides of the polygon, and $3(n-2)-n$ are due to diagonals, each doubled over two (not four as we have seen in the figure above) triangles.
$$\Rightarrow 2d=3(n-2)-n\Rightarrow d=n-3$$
Think of it the opposite way- How many lines does one need to separate that polygon into its constituent $n-2$ triangles? The answer is $2d$.
Above proves that dividing a regular convex polygon in any manner to get $n-2$ triangles requires non-intersecting $n-3$ diagonals or, as a converse, $n-3$ non-intersecting diagonals drawn in any way form $n-2$ triangles.
Howsoever one triangulates a regular convex polygon by non-intersecting diagonals, there will be at most one acute triangle.
Proof:
The acute triangle requires that at least $1$ vertex of the triangle lies on the other side of the diameter (of the circle circumscribing the polygon) as the other two vertices because having all vertices on one side of the diameter encloses arc lengths $\ge$ semicircle-arc length $\Rightarrow\ge90^\circ$ angles. Having drawn such a triangle, one can not draw another such triangle, not intersecting the first one. That is, the triangle must strictly contain the center to be acute.
