question 2: use the conservation of energy to explain why the temperature of a gas increases when it is quickly compressed, whereas the temperature decreases when the gas expands.
WHEN COMPRESSING THE GAS QUICKLY, WORK IS BEING DONE ON THE GAS. THE FIRST LAW OF THERMODYNAMICS SHOWS THAT WORK DONE ON THE GAS INCREASES THE INTERNAL ENERGY OF THE GAS AND BECAUSE OF THIS, TEMPERATURE INCREASES.
WHEN THE AIR WAS COMPRESSED, THE TEMPERATURE RISED, OPPOSITE TO WHAT HAPPENS WHEN THERE IS NO COMPRESSION OR A RELEASE OF THE EXISTENT COMPRESSION.