monopoly, Microeconomics

what is the total cost if the price of 10,quantity demanded is 900000, at $20 it is 800000? The author is paid 2 million dollars to write a book, the marginal cost of publishing the book is a constant $10 per book?