How volume affects pressure in a gas..
1 ~ Decreasing the volume of the container, whilst keeping the number of gas particles the same, will increase the concentration.
2 ~ In this smaller volume, collision between particles and the walls will be more frequent.
3 ~ A greater number of collisions per unit area of wall means increased pressure.