Answer:
W=Q.
Step-by-step explanation:
Considering the given information, initially, work done is greater than 0 and heat removed is less than 0. Then the work is applied by compressing the air. Since the temperature remains constant and no state-change has been mentioned therefore, internal energy also remains same. Hence, all the work done in compressing the gas is converted into heat removal. Hence, work done compressing the gas |W| equals the amount of heat removed |Q|.