Rectangular and Square Pyramids