(x+5)^2(x+1)(x-4)^3(x-7)