Simplify (x^2-5x-14)+(x-7)