The capital structure of a firm comprises of three financing components i.e. shareholders’ funds (including retained earnings), borrowed funds, and…