(i) In an octagonal prism, the number of sides of the polygonal base is 8.
Number of faces in a prism is 2 more than the number of sides of the polygonal base.
Number of faces = 8 + 2 = 10
Number of vertices in a prism is twice the number of sides of the polygonal base.
Number of vertices = 8 × 2 = 16
Number of edges in a prism is thrice the number of sides of the polygonal base.
Number of edges = 8 × 3 = 24
Hence, in an octagonal prism, F = 10, V = 16 and E = 24.
(ii) In a decagonal pyramid, the number of sides of the polygonal base is 10.
Number of faces in a pyramid is 1 more than the number of sides of the polygonal base.
Number of faces = 10 + 1 = 11
Number of vertices in a pyramid is 1 more than the number of sides of the polygonal base.
Number of vertices = 10 + 1 = 11
Number of edges in a pyramid is twice the number of sides of the polygonal base.
Number of edges = 10 × 2 = 20
Hence, in a decagonal pyramid, F = 11, V = 11 and E = 20.