A hexagonal prism should work! The two bases are hexagons, and there are 6 lateral faces that are rectangles. When you count the edges, there are 18... here's an image of one (just in case)
It is a because look at the x-axis and I also had that for homework.