I'm not sure what you have to do... They seem in a pretty simple form. Maybe you want something like the following..
3.f(x) = x(x-6)
x(x-6) = -6x = -6x+9-9 = ( -6x+9)-9 = -9
multiply the polynomial factors in any order you like, but it might be quickest to multiply the x + 2 by the x + 4, and then multiply the result by the x + 1.
through the parentheses, and you're done.