Waves Propagating in Media with two Layers