A company has a capital structure of 39% debt, 21% preferred equity and 40% common equity. The cost of debt financing is 3.25%, the cost of preferred equity financing is 7.38%, and the cost of common equity financing is 9.09%. Calculate the weighted average cost of capital.