Question

A rectangular wooden block of weight W floats with exactly one-half of its volume below the waterline.
The wooden block is removed from the water bath and placed in an unknown liquid. In this liquid, only one-third of the wooden block is submerged.
Mass of the wooden block = 20g
What is the density of the unknown liquid?