Initial state (R3=0):
In this case, the galvanometer is in parallel with R2. The total resistance of the circuit is Rtotal=R1+G+R2GR2. Since R1≫R2, the current from the battery is I≈R1V.
The current through the galvanometer (Ig) corresponding to deflection d is Ig=I(G+R2R2)=R1V(G+R2R2)…(1)
Final state (R3=107 Ω):
The new current through the galvanometer (Ig′) corresponding to half deflection d/2 is Ig′=I(G+R3+R2R2)=R1V(G+107+R2R2)…(2)
Since Ig′=21Ig, G+107+R2R2=21(G+R2R2)
2(G+R2)=G+107+R2
G+R2=107
G+30=107⟹G=77 Ω