You haven't given the first liquid. Since relative density is required, i am assuming it to be water.
Since in both cases the test tube floats upto mark X, the volume displaced in case of brine and water are same.
Let density of water = w
density of brine = b
Relative density of brine = b/w
So Volume displaced in water = Volume displaced in brine
Thus relative density of brine is 1.2