Divide. If there is a remainder, express it in the form rx2+6x+7\displaystyle \frac{{r}}{{{x}^{{2}}+{6}{x}+{7}}}.

(x3+2x225x36)÷(x2+6x+7)\displaystyle {\left({x}^{{3}}+{2}{x}^{{2}}-{25}{x}-{36}\right)}\div{\left({x}^{{2}}+{6}{x}+{7}\right)} =