f(x)=(ax+2a-2a+1)/(x+2)
=a(x+2)/(x+2)+(-2a+1)/(x+2)
=a+(-2a+1)/(x+2)
反比例函数在x>0是增函数则系数小于0
所以这里有-2a+11/2