A body floats in liquid A of density ρ1 with a part of it submerged while in liquid B of density ρ2, it floats with total body submerged. The densities ρ1 and ρ2 are related as
ρ1 > ρ2
In both the cases, the weight of the body is the same. In liquid A, the volume of the liquid displaced is smaller. The weight of the displaced liquid is equal to the weight of the object. So, in liquid A, a lesser volume of the liquid has weight that is equal to the weight of the object i.e. ρ1 > ρ2.