How do I find the number of moles of NaOH when given 2M and 50.0mL?

Also with HCl?

Two formulas for mols.

If solution, then mols = M x L = ?
If mass(grams) then mols = grams/molar mass (or atomic mass)