First factor out
In the parentheses, multiply the first coefficient 9
by the last coefficient 2, getting 18. Write down
all pairs of integer factors whose product is 18.
They are
1*18
2*9
3*6
Since the last sign in the parentheses is -, we
subtract those, larger minus smaller:
18-1 = 17
9-2 = 7
6-3 = 3
Since the middle coefficient of
is 3, and since 3 = 6-3 we write -3ab as -6ab+3ab
Factor the first two terms in the parentheses by factoring
out
Factor the last two terms in the parentheses by factoring
out
Inside the parentheses take out
Edwin