The string can be divided into two different parts, the straight part and the curving part (when tangent to a circle).
There are 6 straight parts, and each has a length of 2r. The total length is 2r * 6 = 12r.
The curving part adds up to the length of one of the circles, so its length should be πr2.
Together the length is 12r+πr2.
If r is incremented by 2, we just have to replace r with (r+2). The length after incrementing is 12(r+2)+π(r+2)2.
Simplify, the length is πr2+12r+4πr+28.
The difference between the two lengths are (πr2+12r+4πr+28)−(πr2+12r)=4πr+28. And the string would be that much longer.