The pressure can be changed by adding or removing green weights from the top of the red piston. This is an example of Boyle's law.