A rectangular prism has a square base with edges measuring 8 inches each. Its volume is 768 cubic inches. Find the height and the surface area of the prism