I first converted the given grams of the reactants into moles, and then divided the moles by the coefficients in front of each of the reactant. The result with the smallest value will be the limiting reactant, and the value of CuO was the smallest, so it's the limiting reactant.
After figuring out which reactant is the limiting one, I took their given grams and converted it into moles, the divided it by the ratio of N2 to CuO (it's in the equation) to obtain the moles of N2, and then multiply it with the molar mass of N2 to get its mass in grams.