In general, the volume of a pointed solid like pyramids and cones is equal to
V = 1/3*Area of base*height
We are given with the information of the volume and the height. Since the only missing information is the area of the base, this is just solvable through substitution.
27 cm³ = 1/3*Area of base*6 cm
Area of base = 13.5 cm²