factoring different types of polynomials - Search