if both market values of debt and equity are given, and book values of debt and equity are given.

Which ones do you rely on to compute wacc?

example:

MV of debt: 20 MV of equity: 40 Book Value of debt: 30 Book value of Equity: 30 after tax cost of debt: 9% cost of equity: 11% WACC??