Simplify (10+7r-r^2)+(-6r^2-18+5r)