Find the value of k for which one root of the equation x2−(k+1)x+k2+k−8=0 exceed 2 and other is smaller than 2.