Please choose the correct answer to the question: Which processes change magma into igneous rock?

Answer1: cooling and crystallization Answer2: compaction and cementation Answer3: heat and pressure Answer4: weathering and erosion

Answer format: answer1/answer2/answer3/answer4