Consider the given expression.
⇒(hg−3)2÷g12×(hg)3
⇒(hg−3)2×h3g3g12
⇒h5g−3g12
⇒h5g−7/2
Hence, this the answer.