step: sandstone is in the class of sedimentary rock and quartzite is in the class of metamorphic rock & a rock changes from sandstone into quartzite
inference: the rock changes class from sedimentary rock to metamorphic rock