Mortgage is a credit that institutions (banking institute or a building society) provide in exchange of…