Here's a pentagon, a 5-sided polygon. From vertex A we can draw two diagonals which separates the pentagon into three triangles. We multiply 3 times 180 degrees to find the sum of all the interior angles of a pentagon, which is 540 degrees.
Sum of the Measure of Interior Angles of polygon= (n - 2) * 180
where n is no. Of sides