Answer: A rectangular prism and a cube.
Step-by-step explanation: A rectangular prism when sliced by a plane can have a square facing up, meaning that a square will be produced. A cube has all square faces and when cut horizontally will produce a square.