I'm a little confused after i find the mass of the two gases then what do I do?
First - no idea how you have calculated mass of both gases - but you did it wrong.
Second - you don't need mass of these gases. Express number of moles of NaH and CaC
2 using compounds masses (x and 0.7514g-x). Using these numbers of moles write equation for the number of moles of gases - and you have already calculated how much gases there is!
I was wrong in my previous post - you will have one equation in one unknown. Even simpler to do