Two-dimensional shapes in nets of rectangular pyramids