then the weight of the first metal in the sample is (where ρw is the density of water)