Plutonic (intrusive) igneous rocks form slowly deep underground and include Diorite, Syenite and Gabbro. Sedimentary rocks, formed from deposited and compacted material, include Limestone, Dolomite and Shale. Volcanic (extrusive) igneous rocks, which cool quickly at the surface, include Basalt, Trachyte and Andesite. Metamorphic rocks, altered by heat and pressure, include Gneiss and Schists.
Matching each rock type to its correct examples gives Plutonic-Diorite/Syenite/Gabbro, Sedimentary-Limestone/Dolomite/Shale, Volcanic-Basalt/Trachyte/Andesite, and Metamorphic-Gneiss/Schists, which corresponds to option 4.