The correct option is B 3Mgd/4
Acceleration due to gravity =g (downwards)
Since the block is moving up at a constant downward acceleration (g/4), this implies the cord exerts an external force on the block in upward direction.
Upward acceleration given to the block by the cord =g−g4=3g4 (upwards)
Work done by the cord W=Fcordd=M3g4d