
The sign at the end changes because both sides of the equation are being divided by a negative number.
With an inequality you have to be careful because you never know when you are going to do the wrong steps in the equation
Mass over volume g/mL: so it would be 5mL as tge volume and 2 g/mL as the density.