N2 + CaC2 = CaNCN + C
As you can see, 1 mol of N2 can react completely with 1 mol of CaC2 and 1 mol of CaNCN will be obtained
It means 5 mol of N2 can react completely with 5 mol of CaC2 and 5 mol of CaNCN will be obtained
So, there are 7.5 - 5 = 2.5 odd mole of CaC2 after the reaction
And the mass of obtained CaNCN is
m = n*M = 5*80 = 400g