The answer is : 17.5 liters drained and replaced by 17.5 liters of 100% solution.
x = amount drained and replaced
(70-x) = remaining amount of 20% solution
<span>.20(70-x) + 1.00(x) = .40(70)
14 - .2x + 1x = 28
1x - .2x = 28 - 14
</span><span>.8x = 14
</span><span>x = 14/.8
x= 17,5 ( 17.5 liters drained and replaced by 17.5 liters of 100% solution)
</span>
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
Lithium i believe is the answer