Concept:For the limit to exist as a finite number, the coefficient of x in the expression must be zero.Explanation:Divide x2+x+1 by x+1:x+1x2+x+1=x+x+11Substitute this into the given limit:x→∞lim[(1−a)x+x+11−b]=3For a finite limit, the coefficient of x must vanish:1−a=0⇒a=1As x→∞, we have x+11→0.So the limit becomes −b=3, giving b=−3.Therefore,a−b=1−(−3)=4Answer:Option D: 4