three engaging resources for the formation of sedimentary rock