Step 1: Find the mass per metre of the chain.
The chain is 2 m long and weighs 4 kg, so each metre weighs \[ \lambda = \frac{4}{2} = 2\text{ kg/m} \] This lets me handle just the hanging piece.
Step 2: Measure the hanging piece.
30% of 2 m hangs down, so the hanging length is $0.3\times 2 = 0.6\text{ m}$. Its mass is \[ m_h = \lambda \times 0.6 = 2\times 0.6 = 1.2\text{ kg} \]
Step 3: Find how far its middle must rise.
The weight of the hanging piece acts at its middle, which sits $0.6/2 = 0.3\text{ m}$ below the table top. To pull it up onto the table that middle point rises by 0.3 m.
Step 4: Work done equals the gain in height energy.
\[ W = m_h\, g\, h = 1.2 \times 10 \times 0.3 \] \[ W = 3.6\text{ J} \]
So the work needed is 3.6 J, which is option (A).
\[ \boxed{3.6\text{ J}} \]