A mass M is lowered with the help of a string by a distance x at a constant acceleration g2. The magnitude of work done by the string will be