Molarity is moles of solute per liter of solution: c = m ÷ (M × V). For 5.844 g of NaCl (58.44 g/mol) in 1 L of solution: 5.844 ÷ 58.44 = 0.1000 mol, so 0.1000 mol/L. V is the final solution volume, measured to the mark of the flask, not the volume of water used.