Show the formation of ions in the following ionic compounds.

MgCl2

KI

CaF2