Which of these are examples of processes which form minerals?

volcanic eruption and freezing of ocean

shifting of tectonic plates and photosynthesis

shifting of tectonic plates and freezing of ocean

volcanic eruption and shifting of tectonic plates