Our task here is to find possible factors of x^2 + 27x + 162.
We need to check out possible factors of 162 first. Examples are:
2(81), 3(54), 6(27), 9(18), and so on. Notice that 9 and 18 add up to 27, so that the factors (x+9) and (x+18) produce x^2 + 27x + 162 when mult. together.