Answer:
7
Step-by-step explanation:
Let the density of second liquid is d. 
Density of water = 1 g/cm^3
In case of equilibrium, according to the principle of flotation, the weight of the body is balanced by the buoyant force acting on the body. 
Let A be the area of cross section of block and D be the density of material of block and h be the height.
For first liquid (water):
Weight of block = m x g = A x h x D x g .... (1) 
Buoyant force in water = A x h x 1 x g ..... (2) 
Equating (1) and (2) we get 
A x h x D x g = A x h x 1 x g 
D = 1 g/cm^3
For second liquid: 
Weight of block = m x g = A x h x D x g .... (1) 
Buoyant force in second liquid = A x h/7 x d x g ..... (2) 
Equating (1) and (2) we get 
A x h x D x g = A x h/7 x d x g 
D = d/7 
d = 7 D = 7 x 1 = 7 g/cm^3
Thus, the relative density of second liquid is 7.