Multiply the number of moles by the molar mass.5.0 mol Al(OH)3 · 75.0 g/mol = 375 g
15.0 mol NaCl · 58.5 g/mol = 878 g