mixed difficulty

How is total revenue calculated?