Simplify (6x^2-x+1)-(-4+2x^2+8x)