X represents magma. When cooled, this magma becomes igneous rock. Hence, igneous intrusion is the correct answer.
Sedimentation is the process of layers of weathered rock fragments hardening to form sedimentary rocks.
Chemical solution is a type of weathering associated with limestone producing karst topography.
Hydrothermal activity would involve the heating of water, for instance, to generate steam to drive turbines to create electricity.