To solve this problem it is necessary to apply the concepts related to the balance of Forces, as well as Newton's second Law and the relationship between density, volume and mass.
Newton's second law indicates that
At the same time we have that the density is equal to
\rho = \frac{m}{V} \rightarrow m = mass, V=Volume
In other words, Newton's second law could also be expressed as
<em>For this problem we will have the forces expressed with two types of densities. The force caused by the weight will have the density of the respective material while the support force will allow us to know the density of the liquid.</em>
From the balance of the bodies we know that the weight of the cube is equal to the tension exerted and the bearing force, therefore,
Weight of cube = Tension + Buoyant force
Replacing
Therefore the density of the liquid is