The correct option is A [6,8]
f(x)=|x−1|+|x−2|+|x+1|+|x+2|
when x ϵ[−2,−1]
f(x)=−(x−1)−(x−2)−(x+1)+(x+2)=−2x+4
when x ϵ[−1,1], f(x)=−(x−1)−(x−2)+x+1+x+2
=−x+1−x+2+x+1+x+2=6
when x ϵ[1,2], f(x)=(x−1)−(x−2)+x+1+x+2=2x+4
Plotting the graph of the function, range of f(x)=[6,8]