Answer
$54h\left( {2g - 1} \right)\left( {g - 1} \right)$
Work Step by Step
Factor out $54h$
$$54h\left( {2{g^2} - 3g + 1} \right)$$
Factor the expression inside parentheses and distribute.
$$\begin{array}{l}54h\left( {2{g^2} - 2g - g + 1} \right)\\54h\left[ {2g\left( {g - 1} \right) - 1\left( {g - 1} \right)} \right]\\54h\left( {2g - 1} \right)\left( {g - 1} \right)\end{array}$$
Therefore, the factored from of the given expression is $54h\left( {2g - 1} \right)\left( {g - 1} \right)$.