Compute the weighted-average cost of capital for a firm with the following sources of funds and corresponding required rates of return: $5 million common stock at 16%, $500,000 preferred stock at 10%, and $3 million debt at 9%. All amounts are listed at market values and the firm's tax rate is 35%.