Answer
There is negative work conducted on the total area of the gas. Therefore, WA would be greater than WB. Therefore, system A will do more more on the gas.
Work Step by Step
There is negative work conducted on the total area of the gas. Therefore, WA would be greater than WB. Therefore, system A will do more more on the gas.