A pyramid is named by the shape of its ... A triangular prism has nine edges. A hexagonal prism has six edges for each end face plus a further six for the edges that join them.