5.1 Draw a regular polygon

Scratch solución