Compute the weighted-average cost of capital for a firm with the following sources of funds and corresponding required rates of return: 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%.