prism and rectangle works