You need to know the concentration (molarity) of the solution in order to answer this question. If you know the concentration then you can use the formula M = mol of substance/ vol of solution (in liters). Solve for the "mol of substance" term.
mol of substance = M x vol of solution
Once you know the moles of substance you can multiply by the molar mass to get the mass of substance. But like I said earlier, the problem isn't solvable without knowing the concentration of the solution.