The force between the two charges when they are placed in dielectric is
F1=4πϵok1d2q1q2
The force between the two charges when they are placed at separation d′ is
F2=4πϵo1d′2q1q2
Since, the force between the two charges is same in both case
F1=F2
⇒4πϵok1d2q1q2=4πϵo1d′2q1q2
⇒d′=dk