(a) What happens when calcium reacts with chlorine? Write an equation for the reaction which takes place. (b) What happens when magnesium reacts with a very dilute nitric acid? Write an equation for the reaction involved.