I believe there is no way to solve it. You could just put it in friction form of
n2+10n+18
——————
n+5