The end goal of this question is to find density. Density can be found using the following formula:
D=m/v
D=Density
m=mass
v=volume
Therefore we need mass and volume to find density. Mass is already given in the question as 142g. All we have left is volume. When a solid is placed in water in a graduated cylinder the volume goes up. This means if you subtract the volume after the metal was placed from before it was placed, you can find the volume of the metal. Therefore the volume of the metal is 40mL-20mL=20mL. However typically, volume is found in liters so the volume should be .04L-.02L=0.02L. Now that we have volume and mass we can find density using the formula d=m/v. So 142/.02=7,100 grams per liget or 7.1 kilograms per liter. This answer seems unrealistic so I would double check with your teacher about the question.
So first lets find out how much gold there is. 10^4=10,000so that means 8.0x10,000= 8,000. now we have to find out how much money that is. All we have to do is multiply 8,000 by 350. When multiplied you get $2,800,000