Apply the formula for d(equivalent)=[(Ml+Mw) /(Vl+VW)]. than use Vl=Ml/Dl and Vw=Mw/Dw. Than use the fact for floating mg=D (equivalent)Vg .where you will get m as mass (your anser ) and to find the density of liquid use the equivalent fact for floating g on the liquid) .thanks ask if querry