Could you please look at the answers I gave and tell me if they are correct examples and if they are not can you please tell me what I should do to make them correct?

The names to the compounds are correct, however be mindful of your subscripts notation for MgCl2
you may want to write it as follows :
[tex]\text{MgCl}_2[/tex]