Fill the blank spaces to complete the text.
As a general rule, if your PV diagram is moving to the right, work is being done the gas. If your PV diagram is moving to the left, work is being done the gas. If there is no left or right motion of your PV diagram, work is being done on or by the gas.