Let’s start with the definition of retaining walls. Retaining walls can be defined as any exterior wall that is used…