Explanation:
molar mass of NaOH = 23 g/mol (for Na) + 16 g/mol (for O) + 1 g/mol (for H) = 40 g/mol
moles of NaOH = 30 g / 40 g/mol = 0.75 mol
500 mL = 0.5 L
molarity = moles of solute / liters of solution
molarity = 0.75 mol / 0.5 L = 1.5 M
Therefore, the molarity of the solution is 1.5 M to the nearest tenth.