A gas expands under constant pressure P from volume V1 to V2. The work done by the gas is
Work done = P△V=P(V2−V1)