(1)设x>-1,求函数y=(x^2+7x+10)/(x+1)的最值,又设x-1,求函数y=(x^2+7x+10)/(x