Since it a shape with 6 faces it is a type of hexahedron.
Essentially, the figure is a cuboid with two of its adjacent vertices brought together. I will try to describe it in a bit more detal:
Start with a cuboid. Take the top-right-front vertex move it to the bottom-right front vertex. Move all the other edges as you go. When you finally get to the bottom you will have the required shape.
octagon
It is a triangular prism that has 6 vertices, 9 edges and 5 faces.
That 3D shape is called triangular pyramid.
Since it has 9 faces it is a nonahedron. Not sure how many of the thousands of nonahedrons have 6 vertices.
tetrahedron
A triangular prism.
The 3D shape that has 6 vertices, 6 faces, and 10 edges is a hexagonal prism. A hexagonal prism is a polyhedron with two hexagonal faces and six rectangular faces connecting them. It has 6 vertices where the edges meet, 6 faces (2 hexagonal and 4 rectangular), and 10 edges that form the boundaries between the faces.
Pentagonal Pyramid
It is a cuboid
Triangular prism
the triangular pyramid
A Triangular based Pyramid has 4 vertices, 6 edges and 4 faces.