How to make a triangle, rectangle, hexagon, pentagon?

Haven’t use it but maybe this extension might help