A cuboid is a figure.
A body weighs W1 in a liquid of density d1 and W2 in a liquid of density d2. What is the weight in a liquid of density d3?