The shape you are referring to is called a pentagonal prism. It has two square faces that form the bases of the prism, and three rectangular faces that connect the edges of the squares to form the sides of the prism. The pentagonal prism is a type of prism with a pentagon as its cross-section, and it has a total of five faces.
A 3-d shape with 6 equal faces is a cube. It has 6 squares as it's faces. A 3-d shape with 6 equal faces and only 2 squares is a rectangular prism. It has 2 squares and 4 other rectangles (squares are rectangles too) as it's faces.
Its a rectangular prism
Rectangular Prism. It's lateral faces are 4 rectangles. It's bases are 2 squares.
There are many plane shapes comprising 4 squares and 2 rectangles but there is no such 3-dimensional shape.
A square prism (assuming the 2 squares are among the 6 rectangular, not additional to).
2 squares and 4 rectangles
They are all rectangular but there can also be 4 rectangular faces and 2 square faces. Always 6 in total.
a cuboid has 4 rectangular faces and 2 square face
4 rectangles and 2 squares.
The 3D shape with 2 octagons and 8 squares is called a truncated square antiprism. It is a type of prism where the top and bottom faces are octagons, and the side faces are squares. This shape has a total of 10 faces, including 2 octagons and 8 squares.
A cube has six faces which are all squares. A cuboid has 2, 4 or 6 rectangular faces.
Rectangular Prism.