Allow me to add to 76. When the glass cube moves left and right....
Inside the glass, c/n is constant, and the other two are variable
Just before entering the glass, λ is constant, and the other two are variable
Just after leaving the glass, c is constant, and the other two are variable