you call a two dimensional shape with six sides a hexagon
Triangle is a shape with three sides.
A shape with 8 sides is an octagon.
A shape with straight sides is called a polygon. But it can have 3 or 4 sides as well.
A shape with 5 sides is a pentagon
A shape with 30 sides may be called a triacontagon. But unless you want to be pretentious or obfuscate or to irritate your audience, I suggest you call it a 30-gon or 30-sided polygon.
A shape with 7 sides is a heptagon
A shape with three sides is a triangle.
you call a two dimensional shape with six sides a hexagon
Triangle is a shape with three sides.
A shape with 8 sides is an octagon.
A regular shape.
a shape with nine sides is called nonagon
It is an irregular shape
A shape with straight sides is called a polygon. But it can have 3 or 4 sides as well.
Tricontagon
A shape with 5 sides is a pentagon