A wave moves from material A to material B and bends towards the normal as it crosses the boundary. In which material does the wave travel faster?

think of a ray passing from air into water.