mass= 18 grams

density= 12 g/ml
-
density= 1.0 g/ml
volume= 3 ml

I don't see a question. I could GUESS that you want to find volume in the first one and mass in the second one but I don't want to waste my time answering a question you don't want to know.