Volume of square pyramid =a²*h/3, bases are the same so area of a base =a²
Volume of cube=a²*a, same base so area of a base of a cube =a²,
because all edges of a cube are equal, so height of a cube =a
Volume of the square pyramid=Volume the a cube
a²*h/3=a²*a
h/3=a
h=3a
the height of the pyramid is 3 times the height of the cube