factor 2x^6-10x^5+12x^4-6x^3+30x^2-34x-6