Rock 1 is sedimentary, Rock 2 is igneous, and Rock 3 is metamorphic.
Metamorphic rock is created due to extreme heat and/or pressure, like Rock 3. Rock 2 is smooth and made from cooled lava so it is igneous. Rock 1 is sedimentary because it has layers but not from pressure or heat.