what two quantities do you have to know to calculate the density of and object?