What two conditions are required to create a rock?

A lot of heat and pressure
A small amount of heat and pressure
A lot of heat and a small amount of pressure
A small amount of heat and a lot of pressure