Respuesta :

((g^2) - 12gh) + (5*7h^2)

final result: 
(g - 5h) * (g-7h)