Don't really know if this is what your asking but P1/T1= P2/T2 should show how the pressure varies with temperature (V is left out because it's constant since the gas is trapped in an aerosol can). As the temperature rises the pressure rises and if it gets too high then the can explodes, which is why it should be stored in a cool place. There's also PV=nRT might be kind of hard to find moles (n) though.
Sodium lends 1 electron.
Phosphorus borrows 3 electrons.
Potassium lends one electron.
Oxygen borrows 2 electrons.
Iodine borrows one electron.
Cesium lends 1 electron.
Bromine borrows 1 electron.
Sulfur borrows 2 electrons.
And magnesium lends 2 electrons.
The groups on the periodic table are arranged by valence electron number. (Ex. Group 2 has 2 valence electrons in the electron configuration