Simplify 10x^2-10x+2 from -8x^2+7x-7