y=(x^2-3x-4)/(x^2-5x-6)=(x+1)(x-4)/(x+1)(x-6)=(x-4)/(x-6) (x≠-1)
分离常数得y=1+2/(x-6) (x≠-1),易知y≠1且y≠5/7.