How do I do this..?
I'm just kind of confused

Hi there...
You need to distribute the exponent into each of the terms in the parenthesis.
So...
(-3)³ x (g²)³ x (k²)³
-27 x g⁶ x k⁶
-27g⁶k⁶