is the number of sides. Another way to calculate the sum of the interior angles of a polygon is to see how many triangles the shape is composed of. Quadrilaterals are composed of two triangles.