Sort the polynomials according to whether they are prime or non-prime.
Prime Polynomials
6x³-5x²+2x-14
12-18+8²-12
6x² +9x2 +10x+15
12x²-3x+4x+7
Non-Prime Polynomials