The general formula to know how much is the sum of the interior agles of a polygon is:
Where n is the number of sides.
Then:
In a polygon with 3 sides the internal angles sum: 180º
In a polygon with 4 sides the internal angles sum: 360º
In a polygon with 5 sides the internal angles sum: 540º