The reflection seismogram in a solid layered earth