If you are given the density and the mass, how do you get the volume?

mass = volume x density

Rearrange to get
volume = mass/density

Do you not know how to rearrange these formulas.

mass = volume x density. Let's use letters.
m = v x d
To solve for v, we want to get v on one side an everything eles on the other. How can we do that?
m = v x d.
We divide both sides by d.
m/d = v*d/d
m/d = v

OR, if we wanted to solve for density.
m = v x d
Divide by v (so the v cancels)
m/v = v*d/v
The v cancels and we have left
m/v = d
or mass/volume = density.

To find the volume, you need to use the formula for density:

Density = Mass / Volume

Rearranging this formula, you can isolate the volume by multiplying both sides of the equation by Volume:

Density * Volume = Mass

Now, to solve for volume, divide both sides by density:

Volume = Mass / Density

So, if you are given the density and the mass, you can find the volume by dividing the mass by the density.