How many grams of NaOH9(m.w.=40) do you need to prepare 200ml of .5M NaOH

How many mols do you need? That's M x L = mols = ?

Then grams = mols x molar mass