Mineral content and texture of a metamorphic rock

Which four factors determine the mineral content and texture of a
metamorphic rock?
List and describe the three common processes that cause rocks to
experience increasing temperature after they form.
What are the three ways foliation can form in a metamorphic rock?