If f(x)=∣∣ ∣ ∣∣(1+x)a(1+2x)b11(1+x)2(1+2x)b(1+2x)b1(1+x)a∣∣ ∣ ∣∣, then find the sum of constant term and coefficient of x.