A sound pulse sent vertically downwards into the earth is reflected from two different layers…