The system is released from rest. When 10 kg block reaches at ground then find work done by gravity on 10 kg block.