A mass of granite is in contact with a layer of sandstone. Using a principle described in this chapter, explain how you might determine whether the sandstone was deposited on top of the granite or whether the magma that formed the granite was intruded after the sandstone was deposited.