Answer:
10 grams
Step-by-step explanation:
The mass equals the density times the volume it displaces, so 5*2 = 10 grams. If you look at the units, you will see that they also cancel out.
you have 5 grams / ml, and 2 ml, so when 5 grams/ml and 2 ml are multiplied, the result is 10 grams*ml/ml, and since ml/ml = 1, the final unit of the answer would be 10 grams.