My rate is $0.90 per page for standard pages, and $1.20 for non-standard pages (eg. decorated chapter headings). Pages with subheadings would be considered a standard page.
So, for the 6x9 book, as an estimate, it would be 17 x 1.2 = $20.4 + 183 x 0.9 = $164.70 = $185.10. And the smaller book would be approx $239.10.