John has closed square prism with a base of 36 square inches and a surface area of 360 square inches. Figure out its height?

base is 6*6

area = 6*6 *2 + 6*h *4 = 360

72 + 24 h = 360

h = 12