[tex] \huge \boxed {\mathcal{Hey \: \: \: there \: \: !!}}[/tex]
we know,
[tex] \boxed{density = \dfrac{mass}{volume} }[/tex]
let the mass of substance be [tex] m_1 [/tex]
and volume be [tex] v [/tex]
density of substance :
now, let the mass of water be [tex] m_2 [/tex]
and volume be [tex] v [/tex]
density of water :
relative density :
since, volume is same they would cancel off
proved...