You should have noticed by now that at no point did you enter the amount of commission that the office will receive.
This is because the office receives whatever is left over of the distributable commission after the gross Agent payable amounts (see Step 4) are taken out.
Basically; anything left over once everyone else has been paid belongs to the Agency.