It's F.
Perimeter: 12 cm
In a cube all the sides are equal and the perimeter is the sum of all the sides. So you get an equation which is: 4x=12 so if you divide by 4 you get that the sides are equal to 3cm. To find volume you length * width * height, in other words, 3*3*3=27.
*-multiplication sign