You immerse it in a well-graded container full of water. You ckeck the volume of water carefully BEFORE and AFTER the immersion of the object. The difference between the two is the VOLUME of the object. And, if you want to find its density, then you divide 5 kg/ volume. Make sure the units are consistent,