Given,
x→0lim3tan2x3+αsinx+βcosx+loge(1−x)=31
⇒x→0lim3tan2x3+α[x−3!x3+…]+β[1−2!x2+4!x4…]+(−x−2x2−3x3…)=31
⇒x→0lim3x2(3+β)+(α−1)x+(−21−2β)x2+….×tan2xx2=31
The coefficient of all the powers of x except x2 is 0.
⇒β+3=0,α−1=0 and 3−21−2β=31
⇒β=−3,α=1
⇒2α−β=2+3=5