the ideal gas law is a combination of three laws by charles, Boyle and another scentist (at the moment his name cannot appear in my head). the equation representing the law:
PV = nRT.
where P is the applied pressure; V is the volume of a gas; n is the number of moles; T is the Kelvin temperature and R is the gas constant.
in this law we can see that pressure is directly proportional to the number of moles and the temperature. P is inversly proportional to the volume of the gas.