Given f(x)+f(x+1)=2 for all x∈R. This means the function has period 2, since replacing x by x+1: f(x+1)+f(x+2)=2, and subtracting from the original: f(x)−f(x+2)=0, so f(x+2)=f(x).
For any interval of length 2, say [a,a+2]: ∫aa+2f(x)dx=∫aa+1f(x)dx+∫a+1a+2f(x)dx. In the second integral, let x=t+1: ∫aa+1f(t+1)dt. So the total is ∫aa+1[f(x)+f(x+1)]dx=∫aa+12dx=2.
Now I1=∫08f(x)dx. Since the interval has length 8 = 4 periods of length 2: I1=4×2=8.
I2=∫−13f(x)dx. The interval has length 4 = 2 periods of length 2: I2=2×2=4.
Therefore I1+2I2=8+2(4)=16.