The density d of a substance is given by the formula d=mV, where m is its mass and V is its volume. Solve the formula for m.