What will you do to find the number of detected triangles from inside polygon
If the polygon has n sides, then the number of triangle in a polygon is (n – 2). In a triangle there are three sides. In the adjoining figure of a triangle ABC we can observe that the number of triangles contained = 3 – 2 = 1.
hope it helps:>