Which of these BEST describes how an igneous rock forms?