Which type of rock is shown in each of these photographs?

Answer:
The first one is sedimentary rock and the second one is igneous rock