The height of squared pyramid is
unit.
<h3>What is the volume of a cube?</h3>
A cube is a solid three-dimensional object with six square faces or sides, three of which meet at each vertex. One of the five Platonic solids, the cube is the only regular hexahedron. It contains 8 vertices, 6 faces, and 12 edges.
Volume of cube 
Given the height of cube is
unit.
Volume of cube is 
Let the height of squared pyramid is
unit
Volume of squared pyramid is 
According to the question, we have
Volume of cube =
volume of squared pyramid

Therefore, the height of squared pyramid is
unit.
To learn more about squared pyramid from the given link
brainly.com/question/27476449
#SPJ4