Quartz and the sedimentary conglomerate was transported to an inland sea, which was over part of the Martinsburg shale. The quartz was deposited over the Martinsburg shale.
Quartz and a sedimentary conglomerate were moved to an inland sea that covered parts of the Martinsburg shale. The quartz then accumulated on top of the Martinsburg shale.