In a law of contract, what is given in exchange for a promise to perform…