You can put this solution on YOUR website! First find the number of sides of the polygon:
Next find the number of diagonals in a octagon:
There are 8 vertices and from each vertex 5 diagonals can be drawn.
**you can't draw a diagonal to an adjacent vertex or to itself**
Also each diagonal is shared by 2 vertices
This leads to the general formula:
diagonals =