Answer:
h = 8
Explanation:
The formula for the volume of a prism is:
V = l x w x h
In this case, both your length and width are the same (8in).
You plug the numbers into the formula to get:
512 in³ = 8 in · 8 in ·h
512 = 64 · h
h = 8
Also, while the figure doesn't say to scale, it looks like a cube. So I probably would've went ahead and tried 8³ to see if it worked out lol!
Good luck ~