a factor lambda, then the volume is scaled by lambda^3.
So let the scale factor be lambda.
For the masses to be the same if the large pyramid has a density 1/8
of the small, then the volume of the larger must be 8 times that of the
smaller. So lambda^3=8, and so lambda=2.
Hence the height of the scaled up pyramid will be 6 inches.