step: sedimentary rock is a kind of rock & metamorphic rocks are formed by rocks being exposed to extreme heat and pressure
inference: metamorphic rocks can be formed by sedimentary rocks being exposed to extreme heat and pressure