How is granite obtained?

Can you answer this question?