Identify the correct answer:
 
1. A compound X does not conduct electricity in solid state but conducts when dissolved in water. It also has a high melting point. Which of the following could be compound X?
 
2. Why is the formula of magnesium chloride written as \(MgCl_2\)?