Factor

6x^6-15x^3+21x^2