step: if a rock is made up of small particles of sand with light-colored layers and dark-colored layers then that rock is likely a sedimentary rock & sedimentary rocks are formed by sediment compacting / cementing together
inference: if a rock is made of small particles of sand with ligh-colored layers and dark-colored layers then that rock was likely formed by sediments compacting and cementing together