When folded into two parts, length is halved and area of cross-section is doubled. Due to the decrease in length, resistance is halved. Also due to the decrease in area of cross section, resistance is again halved.
So effective resistance R = \(12\times\frac{1}{2}\times\frac{1}{2}=3\Omega\)