Group Terms: Group the terms to make factoring easier.Group the terms with common factors together: 8fg−16f + 7g−14.
Factor Common Factors: Factor out the greatest common factor from each group.From the first group 8fg−16f, factor out 8f: 8f(g−2).From the second group 7g−14, factor out 7: 7(g−2).
Write Factored Form: Write down the factored form using the distributive property.Since both groups contain the factor (g−2), factor this out: (g−2)(8f+7).