If I have 42g of NaCl how many moles of NaCl do i have?

Na = 23 g/mol

Cl = 35.5 g/mol
so
NaCl = 58.5 g/mol

so
n = 42/58.5