The normal motion of a shock wave through a non-uniform one-dimensional medium