Original: Potter arrived at an agreement with Warne for an initial publication of 5,000 commercial copies.
Simplified: Potter and Warne agreed to publish cheap 5,000 copies.