The pressure of the gas is increased by reducing the volume at constant temperature. ... The average velocity of the molecules is increased by a factor of 2.
Covalent bonds are formed when two or more atoms share electrons between them. So two chlorine anions form an ionic bond with one magnesium cation for form MgCl2, a neutral chemical compound.