The solution that conducts electricity and has a pH value of 7 would most likely be a neutral solution. Water is among the best examples of a neutral solution. When the pH of a solution is considered to be lesser than 7, it is an acid, while if the pH is greater than 7, it is considered to be a basic solution.
Look at the periodic table to find the charge on atoms.
Magnesium is +2 and Nitrogen is -3. Since there are two nitrogen charge 2*-3 = -6 there needs to be 3 Mg then (3*2+ = 6+) to pair with the two nitrogen.
3 Mg(+2) + 2 N(-3) = Mg3N2
Diamond and graphite are made of carbon. So is most of charcoal.