If tan^-1(x+1/x-1) + tan^-1((x-1)/x) = tan^-1(-7), then the value of x is