Question about publishing

So, more like this?

Self-Publisher:
Apple 30% of gross
COG (25% of remaining 70%) = 17.5% of gross
Author: 52.5% of gross

Hosted:
Apple 30% of gross
Author (25% of remaining 70%) = 17.5% of gross
COG: 52.5% of gross