factor

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

First factor out 3 x^2(common terms)

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