Answer
When they emerge, the phase difference is $~~1.30$
Work Step by Step
We can write a general expression for the wavelength $\lambda'$ in a material with an index of refraction of $n$:
$\lambda' = \frac{\lambda}{n}$
We can find the difference in the number of cycles $\Delta N$ of each wave in the material:
$\Delta N = \frac{L}{\lambda/n_2}-\frac{L}{\lambda/n_1}$
$\Delta N = \frac{n_2~L}{\lambda}-\frac{n_1~L}{\lambda}$
$\Delta N = \frac{(1.79)(3.25~\mu m)}{500~nm}-\frac{(1.59)(3.25~\mu m)}{500~nm}$
$\Delta N = 1.30$
When they emerge, the phase difference is $~~1.30~~$ as a multiple of $\lambda$