Simplify 5x-3+10x^2-x+7x^2