Answer
(g-7h)(g-5h)
Work Step by Step
You are given $g^{2}$-12gh+35$h^{2}$. Factor it out:
$g^{2}$-7gh-5gh+35$h^{2}$ -break out the middle value-
($g^{2}$-7gh)+(-5gh+35$h^{2}$) -group the first two and last two terms-
g(g-7h)-5h(g-7h) -Find the GCF of each grouping-
(g-5h)(g-7h) -factor out the common term-
=(g-5h)(g-7h)