Given,
Functional equation f(x+y)=f(x)+f(y)−1
Now taking x=0&y=0 in above equation we get,
f(0+0)=f(0)+f(0)−1⇒f(0)=1
Now we know that,
f′(x)=h→0limhf(x+h)−f(x)
⇒f′(x)=h→0limhf(x)+f(h)−1−f(x)
⇒f′(x)=h→0limhf(h)−1
Now let h→0limhf(h)−1=k
So, the equation becomes f′(x)=k
Now putting x=0 in above equation we get,
f′(0)=k⇒k=2 as given f′(0)=2
So, f′(x)=2
Now integrate both side we get,
f(x)=2x+c
Now again taking x=0 we get,
f(0)=2×0+c⇒c=1as f(0)=1
So, f(x)=2x+1
And f(−2)=2×(−2)+1⇒f(−2)=−3
Hence, ∣f(−2)∣=3