John is buying a house from Terry and they just reached mutu…

John is buying a house from Terry and they just reached mutual acceptance. The closing of the transaction is in 30 days. During this time, Terry has agreed to replace the roof within 20 days of mutual acceptance and John has agreed to apply for a loan within 5 days of mutual acceptance. What kind of contract do they have?