Use pairs of terms to factorise the expression
Use integer coefficients and the displayed factor order, with a positive leading coefficient in each bracket. Enter signed constants. Stop at these two binomial shapes, retaining any outside factor
\[\left(g+?\right)\left(h+?\right)\]