"The bases of the pyramids are considered as forming the surface of the sphere, while the altitude of…