Last Q first; the Buyer's Agent is paid by the Seller, the Commission goes to the LISTING AGENT's Broker, and he splits it 4 ways.
As a Buyer, you will be responsible for;
General Inspection; approx. $450
Pest Inspection; approx. $100
Roof Inspection; ??
Septic Inspection; ??
Well Inspection; ??
Those are the most common inspections, some may not be applicable, and they will vary around the Country.
I won't guess on your Closing Costs; too many variables: But, what you can do; with the help of your Buyer's Agent, choose a Title Company, go in and ask the Escrow Officer to do a hypothetical HUD1 with the selling price that you provide. You can see very good numbers that way.
Good luck and may God bless