Each format has its own royalty
The page prices two formats, each with its own price, rate and unit count. An ebook at $9.99 and 70% pays $6.99 a copy; a print book at $16.99 and 10% pays $1.70. Multiply each by its units - 300 ebooks and 100 print copies at the defaults - and the two royalties are $2,097.90 and $169.90, for $2,267.80 of gross royalties.
That is why a modest ebook list can out-earn a larger print list: the high rate sits on the higher-priced digital format and multiplies harder. The print edition has to sell roughly four copies to match one ebook at these defaults, which is the trade-off a publisher is making when it prices a digital edition low to move units.
Each row is independent, so a change in one format does not touch the other. The table prints price, rate, units and the resulting royalty side by side, and the total line adds them without any weighting or averaging that would obscure which format is doing the work.