contestada

( Please give me a good answer)
How are index fossils and rock layers used to support relative dating?