Simplify 3x^2+7xy+9x+(-8xy)+21x^2