If the density of an object is more than the density of a liquid, then it sinks in the liquid. On the other hand, if the density of an object is less than the density of a liquid, then it floats on the surface of the liquid.
Here, density of the substance = ℎ / ℎ = 50 / 20 = 2.5 /3
The density of the substance is more than the density of water (1 g cm−3 ). Hence, the substance will sink in water.