The length of three unequal edges of a rectangular solid block are in G.P. The volume of the block is 216 cm^3 and the total surface area is 312 cm^2. The length of the longest edge is ?