Propagation and reflection of a wave

A wave travels in a medium with density d1 and finds a medium with density d2=d1/2
Both media have the same elastic constants.
Due to the impedance missmatch part of the energy is transmitted and part reflected.