calculate the mass of NaCl needed to prepare 1000cm of 0.025M solution (molar mass of NaCl is 58.5)

I assume you mean 1000 cm^3 which is in fact one liter.

so we need .025 mol
.025 * 58.5 g/mol = 1.46 grams