The optical path length \( L \) is given by \( L = n \cdot s \), where \( n \) is the refractive index and \( s \) is the actual path length. For air (with \( n = 1 \)) and the medium (with \( n = 1.5 \)):
\[
L_{{air}} = 1 \cdot 1\, {m} = 1\, {m}
\]
\[
L_{{medium}} = 1.5 \cdot x\, {m} = 1\, {m} \implies x = \frac{1}{1.5} = \frac{2}{3}\, {m}
\]