The refractive index \( n \) of a medium is defined as the ratio of the speed of light in a vacuum \( c \) to the speed of light in the medium. For two mediums (1) and (2), the refractive index of medium (1) with respect to medium (2) is given by:
\[
n_{1,2} = \frac{v_1}{v_2}
\]
where \( v_1 \) is the speed of light in medium (1) and \( v_2 \) is the speed of light in medium (2).