Step 1: Compare the two forces by a ratio:
$\dfrac{F_{\text{medium}}}{F_{\text{air}}} = \dfrac{d^2}{KD^2}$ for the same charges.
Step 2: Set the ratio to 1:
Equal forces mean $d^2 = KD^2$, so $D = d/\sqrt K$.
Step 3: Dimension check:
Distance must come out as a length. Only option (A) and (B) contain $d$ to the first power, and (B) would make the distance larger in a medium that weakens the force. Option (C) has $d^2$ and (D) has $1/d^2$, so neither is a length.
Final Answer:
Option (A).
\[ \boxed{\frac{d}{\sqrt K} \text{ (A)}} \]