Which of the following rocks is produced by the solidification of magna within the earth…