To determine the composition of a bimetallic alloy, a sample is first weighed in air and then in water. These weights are found to be w1 and w2 respectively. If the densities of the two constituent metals are ρ1 and ρ2 respectively, then the weight of the first metal in the sample is (where ρw is the density of water)