If the ratio of the volume of object A to the volume of (object A + object B) is a%
the volume of object B to the volume of (object A + object B) is b%
The density of object A is x g/cm3
The density of object B is y g/cm3
The overall density = (a%)(x)+(b%)(y)