Boyle's law states that the pressure of a gas with constant mass is inversely proportional to its volume provided the temperature of the gas is kept constant.
Relationship between density and pressure using boyle's law
d = (m/k) P
d ∝ P
Charle's law
Charles’s Law states that for a fixed mass of gas, the volume of the gas is directly proportional to the absolute temperature provided the pressure remains constant.