A firm has a capital structure with $30 million in equity and $90 million of debt. The cost of equity capital is 10% and the pretax cost of debt is 6%. If the marginal tax rate of the firm is 40%, compute the weighted average cost of capital of the firm.