Answer: The wavelength of light of the first wave reduced, same as the wavelength of the second wave but both wave have the same speed.
And the frequency of light during refraction is constant.
Explanation: According to snell's law, the refractive index is related to the wavelength as shown below
n2/n1 = λ1/λ2
Where n2 = refractive index of the second medium = 1.52 for glass
n1 = refractive index of the first medium = 1 for vacuum
λ1 = wavelength of light in first medium
λ2 = wavelength of light in second medium
Considering the first light of wavelength with λ1 = wavelength in air ( first medium) = 600nm
Since the wave is moving from vacuum to glass, n1 = 1( refractive index for vacuum), n2 = 1.52 ( refractive index for glass).
By substituting the parameters
1.52/1 = 600/λ2
600 = λ2 * 1.52
λ2 = 600/1.52
λ2 = 397.73nm
For the second light wave
1.52/1 = 400/λ2
1.52 * λ2 = 400
λ2 = 400/1.52
λ2 = 263.16m
It can be seen that the wavelength of both wave reduced with the first wave having more reduction than the second wave.
They both travel with the same speed ( v= 3 *10^8 m/s).
Frequency is constant all through the process of refraction.