In a process the pressure of a gas is inversely proportional to the square of the volume. If the temperature of the gas increases, then work done by the gas
Since temperature increases therefore volume decreases. Hence the work done by the gas should be negative