The molarity of a solution is, by definition, the number of moles (n) of solute per liter of solution (V), i.e.:
![M=(n)/(V)](https://img.qammunity.org/2023/formulas/physics/college/jriwhyxzmyw21suhdgaghb31u6dlzaxojx.png)
In the first solution, NaOH is the solute. We have 0.6 moles of solute and 1.75 L of solution. We can substitute these values:
![M=(0.6)/(1.75)=0.34\text{ mol/L}](https://img.qammunity.org/2023/formulas/chemistry/college/n3q72v65euo1v7kxvolq4ogzubw00zvv8v.png)
In order to calculate the molarity of the second solution, we must first convert mass (g) to moles, which can be done by using the molar mass of NaCl (58.44 g/mol). We can divide the mass by the molar mass to obtain the number of moles of NaCl:
![n=(m)/(MM)=(17.9)/(58.44)=0.30\text{ moles}](https://img.qammunity.org/2023/formulas/chemistry/college/s09mov3oycwbkbxfoowas6d8gf3lvfpqmh.png)
Now we divide this result by the volume of the solution (877 ml or 0.877 L)