Answer :
D^5 g^6
You subtract the top exponents by the bottom exponents with the corresponding term (g or d)
You subtract the top exponents by the bottom exponents with the corresponding term (g or d)