At fixed temperature, pressure times volume stays constant for this ideal gas model.
Start at fixed temperature
At the first state, pressure 2 pascals times volume 6 cubic meters gives 12 joules.
piVi=2 Pa⋅6 m3=12 J
Increase pressure and reduce volume
At the second state, pressure is 4 pascals and volume is 3 cubic meters.
pfVf=4 Pa⋅3 m3
The product stays constant
The second product is also 12 joules, so higher pressure pairs with lower volume.
piVi=pfVf=12 J