A polygon's total angle will increase by 180° when one side is split into two new sides.
The two new sides can be constructed either inside or outside the polygon. This example shows the inside case.
Touch the equation's terms to understand where they come from. Then press the simplify button several times to rearrange the equation.