The springs shown are identical. When A=4kg , the elongation of spring is 1 cm. If B=6kg, the elongation produced by it is
4 cm
3 cm
2 cm
1 cm
F=kx⇒mg=kx⇒m∝kx
Hence m1m2=k1k2×x1x2⇒46=kk/2×1x2
⇒x2=3 cm.