Under South African common law the general rule that applies when an agreement fails is that the parties must restore…