Question 580179
<pre>
The other tutor said "Don't argue with what works".  I agree but

that's not what you did.  You aksed WHY it works, and you are to be

commended for asking that question, not criticized!!!

Here is the answer to your question:  

Any polygon can be divided up into triangles.  The number of triangles

is always two less triangles than the number of sides of the polygon.

For instance, take this 5-sided polygon (called a "pentagon", like the buiding 

in Washington DC): 

{{{drawing(200,200,-1,1,-1,1, 

line(cos(pi/10),sin(pi/10),0,1),

line(-cos(pi/10),sin(pi/10),0,1),

line(cos(3pi/10),-sin(3pi/10),cos(pi/10),sin(pi/10)),

line(cos(3pi/10),-sin(3pi/10),-cos(3pi/10),-sin(3pi/10)),

line(-cos(3pi/10),-sin(3pi/10),-cos(pi/10),sin(pi/10)) )}}}

If you pick any vertex and draw the diagonals, 
like this:

{{{drawing(200,200,-1,1,-1,1, 

line(cos(pi/10),sin(pi/10),0,1),

line(-cos(pi/10),sin(pi/10),0,1),

line(cos(3pi/10),-sin(3pi/10),cos(pi/10),sin(pi/10)),

line(cos(3pi/10),-sin(3pi/10),-cos(3pi/10),-sin(3pi/10)),

line(-cos(3pi/10),-sin(3pi/10),-cos(pi/10),sin(pi/10)), 


green(

line(-cos(pi/10),sin(pi/10),cos(pi/10),sin(pi/10)),

line(-cos(pi/10),sin(pi/10),cos(3pi/10),-sin(3pi/10)))
)}}}

the polygon is divided into three triangles (two less

than five).  The interior angles of the 3 triangles are

180° each.   So the sum of the interior angles of the

polygon is 3 times 180°.  That's

the number of sides, 5, minus 2, or 3 times 180°, and if the

number of sides is n, then that's

       (n - 2)180°

But as the other tutor explained, if you use the 
distributive principle, you get:

     n·180° - 2·180°

and that becomes

      180°n - 360°

Edwin</pre>