Bailey’s Cakes and Pastries baked a three-tiered cake for a wedding. The bottom tier is a rectangular prism that is 18 centimete
rs long, 12 centimeters wide, and 8 centimeters tall. The middle tier is a rectangular prism that is 12 centimeters long, 8 centimeters wide, and 6 centimeters tall. The top tier is a cube with edges of 4 centimeters each. What is the volume of each tier and of the entire cake?