The spell cannot create 5x5 panels
Which means the math in the question is moot.
The spell states, it creates "ten 10-foot-by-10-foot panels." at 6 inches thick. Or, "10-foot-by-20-foot panels that are only 3 inches thick."
The closest a character could do is create a box that has two panels on each side (qty 8) and two more on top to use up the 10 panels. This would give them a foot of wall on each side.
So the math would be...
12" thick sides x 30hp = 360 hp per side
4 walls + 1 roof = 5 surfaces x 360 hp = 1800 hp total for the structure